wire goflags (including glog) to kubernetes-discovery

This commit is contained in:
deads2k
2016-12-13 11:06:51 -05:00
parent 765700da3b
commit 6d081e4566

View File

@@ -17,6 +17,7 @@ limitations under the License.
package main
import (
"flag"
"os"
"runtime"
@@ -43,6 +44,7 @@ func main() {
}
cmd := server.NewCommandStartDiscoveryServer(os.Stdout, os.Stderr)
cmd.Flags().AddGoFlagSet(flag.CommandLine)
if err := cmd.Execute(); err != nil {
cmdutil.CheckErr(err)
}