VERSION shouldn't block on stdin
authorYongkun Anfernee Gui <agui@vmware.com>
Thu, 7 Sep 2017 18:40:14 +0000 (11:40 -0700)
committerYongkun Anfernee Gui <agui@vmware.com>
Fri, 8 Sep 2017 05:48:10 +0000 (22:48 -0700)
commitf5302a2aa935064e67ee8926f433ed001d39e4a0
tree71f098ce925884f87e922f1e6b19e8177717ecf0
parent909fe7d10d98ab99b9990966796316249c83b263
VERSION shouldn't block on stdin

Right now, I have to do the following
  $ echo | CNI_COMMAND=VERSION bridge
or
  CNI_COMMAND=VERSION bridge
  ^D
to be able to get the result back.

But VERSION doesn't need to read from stdin.
pkg/skel/skel.go
pkg/skel/skel_test.go