Skip to content

Commit

Permalink
Errors are not strings
Browse files Browse the repository at this point in the history
  • Loading branch information
immesys committed Jan 25, 2019
1 parent 173d2e7 commit d0816ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/apifrontend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func ProxyGRPCSecure(laddr string) *tls.Config {

cfg, err := certutils.GetAPIConfig(etcdClient)
if cfg == nil {
fmt.Printf("TLS config is incomplete (%s), disabling secure endpoints\n", err)
fmt.Printf("TLS config is incomplete (%v), disabling secure endpoints\n", err)
return nil
}

Expand Down

0 comments on commit d0816ee

Please sign in to comment.