{"action":"created","issue":{"url":"https://api.github.com/repos/appc/cni/issues/150","repository_url":"https://api.github.com/repos/appc/cni","labels_url":"https://api.github.com/repos/appc/cni/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/appc/cni/issues/150/comments","events_url":"https://api.github.com/repos/appc/cni/issues/150/events","html_url":"https://github.com/appc/cni/issues/150","id":139161158,"number":150,"title":"[Question]: What does \"cniVersion\" and \"CNI_VERSION\" do?","user":{"login":"qianzhangxa","id":16984932,"avatar_url":"https://avatars.githubusercontent.com/u/16984932?v=3","gravatar_id":"","url":"https://api.github.com/users/qianzhangxa","html_url":"https://github.com/qianzhangxa","followers_url":"https://api.github.com/users/qianzhangxa/followers","following_url":"https://api.github.com/users/qianzhangxa/following{/other_user}","gists_url":"https://api.github.com/users/qianzhangxa/gists{/gist_id}","starred_url":"https://api.github.com/users/qianzhangxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qianzhangxa/subscriptions","organizations_url":"https://api.github.com/users/qianzhangxa/orgs","repos_url":"https://api.github.com/users/qianzhangxa/repos","events_url":"https://api.github.com/users/qianzhangxa/events{/privacy}","received_events_url":"https://api.github.com/users/qianzhangxa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-08T02:44:21Z","updated_at":"2016-03-16T01:46:39Z","closed_at":null,"body":"Hi,\r\n\r\nI'd like to know what \"cniVersion\" field means? Is it a required field in CNI network configuration? In https://github.com/appc/cni/blob/master/README.md#running-the-plugins, I do not see it in the example configuration, so it should be an optional field?\r\n\r\nAnd what about the environment variable \"CNI_VERSION\" when invoking CNI plugin? How does it interact with \"cniVersion\", it's value has to be exactly same with the value of \"cniVersion\", right?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/appc/cni/issues/comments/197105415","html_url":"https://github.com/appc/cni/issues/150#issuecomment-197105415","issue_url":"https://api.github.com/repos/appc/cni/issues/150","id":197105415,"user":{"login":"zachgersh","id":689411,"avatar_url":"https://avatars.githubusercontent.com/u/689411?v=3","gravatar_id":"","url":"https://api.github.com/users/zachgersh","html_url":"https://github.com/zachgersh","followers_url":"https://api.github.com/users/zachgersh/followers","following_url":"https://api.github.com/users/zachgersh/following{/other_user}","gists_url":"https://api.github.com/users/zachgersh/gists{/gist_id}","starred_url":"https://api.github.com/users/zachgersh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachgersh/subscriptions","organizations_url":"https://api.github.com/users/zachgersh/orgs","repos_url":"https://api.github.com/users/zachgersh/repos","events_url":"https://api.github.com/users/zachgersh/events{/privacy}","received_events_url":"https://api.github.com/users/zachgersh/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T01:46:39Z","updated_at":"2016-03-16T01:46:39Z","body":"@qianzhangxa you can totally take the fix! As for why it is both specified as an ENV var and a argument to stdin, I can't really say. Maybe @steveeJ would know. Maybe we pick one and remove the other?"}}