- fixing the logging message, variable were wrong way around

This commit is contained in:
Rohith 2018-10-01 10:29:28 +01:00
parent 97dc2beb71
commit 2ce1df88cc
3 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,7 @@ func addServerCommand() cli.Command {
Name: "certificate-ttl",
Usage: "check the certificates exist and if not wait for x period `DURATION`",
EnvVar: "CERTIFICATE_TTL",
Value: 10 * time.Minute,
Value: 1 * time.Hour,
},
cli.DurationFlag{
Name: "authorization-timeout",

View File

@ -55,8 +55,8 @@ type NodeAuthorizer struct {
// New creates and returns a node authorizer
func New(config *Config, authorizer Authorizer) (*NodeAuthorizer, error) {
utils.Logger.Info("starting the node authorization service",
zap.String("listen", Version),
zap.String("version", config.Listen))
zap.String("listen", config.Listen),
zap.String("version", Version))
if err := config.IsValid(); err != nil {
return nil, fmt.Errorf("configuration error: %s", err)

View File

@ -100,5 +100,5 @@ func GetNodeAuthorizerImage() string {
return v
}
return "quay.io/gambol99/node-authorizer:v0.0.3@sha256:bc581658115e71d7a08bd5ca216368432d5b8d501ef70924ebd30627773bc134"
return "quay.io/gambol99/node-authorizer:v0.0.3@sha256:4404af05793411563f6e2f26e3b07fc8640852b0b1cabe5eb31a6451df66488d"
}