1
0
mirror of https://github.com/ko-build/ko.git synced 2025-11-06 09:19:12 +02:00

Fix things pointed out by golangci-lint

This commit is contained in:
Markus Thömmes
2020-10-13 15:27:59 +02:00
parent f527c9b024
commit 695b39f9f4
6 changed files with 20 additions and 20 deletions

View File

@@ -37,10 +37,10 @@ func main() {
if err != nil {
log.Fatalf("Error reading %q: %v", file, err)
}
log.Printf(string(bytes))
log.Print(string(bytes))
// Cause the pod to "hang" to allow us to check for a readiness state.
sigs := make(chan os.Signal)
sigs := make(chan os.Signal, 1)
signal.Notify(sigs, syscall.SIGTERM)
<-sigs
}