Fresh dep ensure

This commit is contained in:
Mike Cronce
2018-11-26 13:23:56 -05:00
parent 93cb8a04d7
commit 407478ab9a
9016 changed files with 551394 additions and 279685 deletions

View File

@ -7,18 +7,13 @@ load(
go_library(
name = "go_default_library",
srcs = select({
"@io_bazel_rules_go//go/platform:windows": [
"service.go",
],
"//conditions:default": [],
}),
srcs = ["service.go"],
importpath = "k8s.io/kubernetes/pkg/windows/service",
deps = select({
"@io_bazel_rules_go//go/platform:windows": [
"//vendor/github.com/golang/glog:go_default_library",
"//vendor/golang.org/x/sys/windows:go_default_library",
"//vendor/golang.org/x/sys/windows/svc:go_default_library",
"//vendor/k8s.io/klog:go_default_library",
],
"//conditions:default": [],
}),

View File

@ -21,7 +21,7 @@ package service
import (
"os"
"github.com/golang/glog"
"k8s.io/klog"
"golang.org/x/sys/windows"
"golang.org/x/sys/windows/svc"
@ -57,7 +57,7 @@ func InitService(serviceName string) error {
if err != nil {
return err
}
glog.Infof("Running %s as a Windows service!", serviceName)
klog.Infof("Running %s as a Windows service!", serviceName)
return nil
}
@ -67,7 +67,7 @@ func (h *handler) Execute(_ []string, r <-chan svc.ChangeRequest, s chan<- svc.S
h.fromsvc <- nil
s <- svc.Status{State: svc.Running, Accepts: svc.AcceptStop | svc.AcceptShutdown | svc.Accepted(windows.SERVICE_ACCEPT_PARAMCHANGE)}
glog.Infof("Service running")
klog.Infof("Service running")
Loop:
for {
select {