pkg/skel: missing env var log lines appear in stderr
authorGabe Rosenhouse <rosenhouse@gmail.com>
Thu, 14 Jul 2016 02:24:34 +0000 (22:24 -0400)
committerGabe Rosenhouse <rosenhouse@gmail.com>
Thu, 14 Jul 2016 04:24:27 +0000 (00:24 -0400)
commitc17e70075933cea07d6c239fec18d4f30beae5be
treea503539c8db1eb240bfc0f747b302435d8d08e12
parent791d259e55b3e5131d0f8acc00143acbb707ea7b
pkg/skel: missing env var log lines appear in stderr

Previously, the log lines appeared in stdout before the JSON encoding of
the error message.  That would break JSON parsing of stdout.  Instead, we use
stderr for these unstructured logs, consistent with the CNI spec.
pkg/skel/skel.go
pkg/skel/skel_test.go