{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/4990","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/4990/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/4990/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/4990/events","html_url":"https://github.com/rancher/rancher/issues/4990","id":158125405,"number":4990,"title":"[rancher-compose] 0.8.0 change in empty environment variables handling","user":{"login":"mishak87","id":276500,"avatar_url":"https://avatars.githubusercontent.com/u/276500?v=3","gravatar_id":"","url":"https://api.github.com/users/mishak87","html_url":"https://github.com/mishak87","followers_url":"https://api.github.com/users/mishak87/followers","following_url":"https://api.github.com/users/mishak87/following{/other_user}","gists_url":"https://api.github.com/users/mishak87/gists{/gist_id}","starred_url":"https://api.github.com/users/mishak87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishak87/subscriptions","organizations_url":"https://api.github.com/users/mishak87/orgs","repos_url":"https://api.github.com/users/mishak87/repos","events_url":"https://api.github.com/users/mishak87/events{/privacy}","received_events_url":"https://api.github.com/users/mishak87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-02T12:09:16Z","updated_at":"2016-06-05T02:50:23Z","closed_at":null,"body":"**Rancher Version:** 1.0.2\r\n\r\n**Docker Version:** 1.10.3\r\n\r\n**OS and where are the hosts located? (cloud, bare metal, etc):** bare\r\n\r\n**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)** single node rancher internal DB\r\n\r\n**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)** Cattle\r\n\r\n**Steps to Reproduce:**\r\n\r\ndocker-compose.yml\r\n```yaml\r\nservice:\r\n    image: alpine\r\n    command: sh -c 'while true; do sleep 60; done'\r\n    environment:\r\n        EMPTY:\r\n```\r\n\r\n```sh\r\nunset EMPTY\r\n# download rancher-compose 0.7.4\r\nrancher-compose up -d\r\n# download rancher-compose 0.8.0\r\nrancher-compose up -d\r\n```\r\n\r\n**Results:** \r\n\r\n```\r\ntime=\"2016-06-02T14:01:29+02:00\" level=warning msg=\"Service service is out of sync with local configuration file\" \r\n```\r\n`<nil>` values instead of empty values in configuration view of service\r\n\r\nUI stack config:\r\n```yaml\r\nservice:\r\n  environment:\r\n    EMPTY: <nil>\r\n  command:\r\n  - sh\r\n  - -c\r\n  - while true; do sleep 60; done\r\n  image: debian:jessie\r\n```\r\n\r\n**Expected:**\r\n\r\nNo warning.\r\nSame behaviour as 0.7.4 (and versions before).\r\n\r\nUI stack config:\r\n```yaml\r\nservice:\r\n  command:\r\n  - sh\r\n  - -c\r\n  - while true; do sleep 60; done\r\n  image: debian:jessie\r\n```"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/223790051","html_url":"https://github.com/rancher/rancher/issues/4990#issuecomment-223790051","issue_url":"https://api.github.com/repos/rancher/rancher/issues/4990","id":223790051,"user":{"login":"janeczku","id":3813921,"avatar_url":"https://avatars.githubusercontent.com/u/3813921?v=3","gravatar_id":"","url":"https://api.github.com/users/janeczku","html_url":"https://github.com/janeczku","followers_url":"https://api.github.com/users/janeczku/followers","following_url":"https://api.github.com/users/janeczku/following{/other_user}","gists_url":"https://api.github.com/users/janeczku/gists{/gist_id}","starred_url":"https://api.github.com/users/janeczku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janeczku/subscriptions","organizations_url":"https://api.github.com/users/janeczku/orgs","repos_url":"https://api.github.com/users/janeczku/repos","events_url":"https://api.github.com/users/janeczku/events{/privacy}","received_events_url":"https://api.github.com/users/janeczku/received_events","type":"User","site_admin":false},"created_at":"2016-06-05T02:50:23Z","updated_at":"2016-06-05T02:50:23Z","body":"See https://github.com/docker/libcompose/issues/296"}}
{"actor":{"display_login":"janeczku"}}