{"action":"closed","issue":{"url":"https://api.github.com/repos/openfaas/faas-cli/issues/359","repository_url":"https://api.github.com/repos/openfaas/faas-cli","labels_url":"https://api.github.com/repos/openfaas/faas-cli/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/openfaas/faas-cli/issues/359/comments","events_url":"https://api.github.com/repos/openfaas/faas-cli/issues/359/events","html_url":"https://github.com/openfaas/faas-cli/issues/359","id":310076467,"number":359,"title":"faas-cli store command does not honour the OPENFAAS_URL env variable","user":{"login":"iyovcheva","id":4160133,"avatar_url":"https://avatars3.githubusercontent.com/u/4160133?v=4","gravatar_id":"","url":"https://api.github.com/users/iyovcheva","html_url":"https://github.com/iyovcheva","followers_url":"https://api.github.com/users/iyovcheva/followers","following_url":"https://api.github.com/users/iyovcheva/following{/other_user}","gists_url":"https://api.github.com/users/iyovcheva/gists{/gist_id}","starred_url":"https://api.github.com/users/iyovcheva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyovcheva/subscriptions","organizations_url":"https://api.github.com/users/iyovcheva/orgs","repos_url":"https://api.github.com/users/iyovcheva/repos","events_url":"https://api.github.com/users/iyovcheva/events{/privacy}","received_events_url":"https://api.github.com/users/iyovcheva/received_events","type":"User","site_admin":false},"labels":[{"id":875850221,"url":"https://api.github.com/repos/openfaas/faas-cli/labels/review","name":"review","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"iyovcheva","id":4160133,"avatar_url":"https://avatars3.githubusercontent.com/u/4160133?v=4","gravatar_id":"","url":"https://api.github.com/users/iyovcheva","html_url":"https://github.com/iyovcheva","followers_url":"https://api.github.com/users/iyovcheva/followers","following_url":"https://api.github.com/users/iyovcheva/following{/other_user}","gists_url":"https://api.github.com/users/iyovcheva/gists{/gist_id}","starred_url":"https://api.github.com/users/iyovcheva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyovcheva/subscriptions","organizations_url":"https://api.github.com/users/iyovcheva/orgs","repos_url":"https://api.github.com/users/iyovcheva/repos","events_url":"https://api.github.com/users/iyovcheva/events{/privacy}","received_events_url":"https://api.github.com/users/iyovcheva/received_events","type":"User","site_admin":false},"assignees":[{"login":"iyovcheva","id":4160133,"avatar_url":"https://avatars3.githubusercontent.com/u/4160133?v=4","gravatar_id":"","url":"https://api.github.com/users/iyovcheva","html_url":"https://github.com/iyovcheva","followers_url":"https://api.github.com/users/iyovcheva/followers","following_url":"https://api.github.com/users/iyovcheva/following{/other_user}","gists_url":"https://api.github.com/users/iyovcheva/gists{/gist_id}","starred_url":"https://api.github.com/users/iyovcheva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyovcheva/subscriptions","organizations_url":"https://api.github.com/users/iyovcheva/orgs","repos_url":"https://api.github.com/users/iyovcheva/repos","events_url":"https://api.github.com/users/iyovcheva/events{/privacy}","received_events_url":"https://api.github.com/users/iyovcheva/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-03-30T14:14:38Z","updated_at":"2018-04-01T18:28:43Z","closed_at":"2018-04-01T18:28:43Z","author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\nWhen `OPENFAAS_URL` env variable is set, it should be used from `faas-cli store` command, but currently it is ignored.\r\n\r\n## Possible Solution\r\n<!--- Not obligatory, but suggest a fix/reason for the bug, -->\r\n<!--- or ideas how to implement the addition or change -->\r\n\r\n## Steps to Reproduce (for bugs)\r\n1. `export OPENFAAS_URL=http://invalidurl:8080`\r\n2. `faas store deploy figlet`\r\n\r\n## Expected Behaviour\r\n```\r\nIs FaaS deployed? Do you need to specify the --gateway flag?\r\nPut http://invalidurl:8080/system/functions: dial tcp: lookup invalidurl on <ip>:<port>: no such host\r\n```\r\n\r\n## Current Behaviour\r\n```\r\nDeployed. 200 OK.\r\nURL: http://127.0.0.1:8080/function/figlet\r\n```\r\n\r\n## Context\r\n<!--- How has this issue affected you? What are you trying to accomplish? -->\r\n<!--- Providing context helps us come up with a solution that is most useful in the real world -->\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Docker version `docker version` (e.g. Docker 17.0.05 ):\r\n\r\n* Are you using Docker Swarm or Kubernetes (FaaS-netes)?\r\n\r\n* Operating System and version (e.g. Linux, Windows, MacOS):\r\n\r\n* Link to your project or a code example to reproduce issue:\r\n"}}
{"actor":{"display_login":"alexellis"}}