{"action":"closed","issue":{"url":"https://api.github.com/repos/appc/cni/issues/72","labels_url":"https://api.github.com/repos/appc/cni/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/appc/cni/issues/72/comments","events_url":"https://api.github.com/repos/appc/cni/issues/72/events","html_url":"https://github.com/appc/cni/issues/72","id":110249849,"number":72,"title":"Missing FLANNEL_NETWORK in flannel documentation.","user":{"login":"jellonek","id":658436,"avatar_url":"https://avatars.githubusercontent.com/u/658436?v=3","gravatar_id":"","url":"https://api.github.com/users/jellonek","html_url":"https://github.com/jellonek","followers_url":"https://api.github.com/users/jellonek/followers","following_url":"https://api.github.com/users/jellonek/following{/other_user}","gists_url":"https://api.github.com/users/jellonek/gists{/gist_id}","starred_url":"https://api.github.com/users/jellonek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jellonek/subscriptions","organizations_url":"https://api.github.com/users/jellonek/orgs","repos_url":"https://api.github.com/users/jellonek/repos","events_url":"https://api.github.com/users/jellonek/events{/privacy}","received_events_url":"https://api.github.com/users/jellonek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appc/cni/labels/kind/bug","name":"kind/bug","color":"ff0000"},{"url":"https://api.github.com/repos/appc/cni/labels/kind/documentation","name":"kind/documentation","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/appc/cni/milestones/2","html_url":"https://github.com/appc/cni/milestones/v0.2.0","labels_url":"https://api.github.com/repos/appc/cni/milestones/2/labels","id":1343533,"number":2,"title":"v0.2.0","description":"","creator":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=3","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-10-07T21:48:23Z","updated_at":"2015-10-08T01:03:54Z","due_on":"2015-10-16T07:00:00Z","closed_at":null},"comments":1,"created_at":"2015-10-07T15:22:50Z","updated_at":"2015-10-08T01:03:54Z","closed_at":"2015-10-08T01:03:54Z","body":"In https://github.com/appc/cni/blob/master/Documentation/flannel.md example `subnet.env` does not have `FLANNEL_NETWORK`  variable, without which https://github.com/appc/cni/blob/master/plugins/meta/flannel/flannel.go#L205 will panic.\r\n\r\nBtw. there is no error checking if required variables are in `subnet.env` file.\r\nIf this variables could be missing, then in https://github.com/appc/cni/blob/master/plugins/meta/flannel/flannel.go#L72 pointer struct members should be initialized with empty values like:\r\n```\r\nse := &subnetEnv{\r\n  nw: &net.IPNet{},\r\n  sn: &net.IPNet{},\r\n}\r\n```"}}