Skip to content

Commit

Permalink
edit log messages for clear output
Browse files Browse the repository at this point in the history
  • Loading branch information
SrinivasAtmakuri committed Sep 18, 2023
1 parent f4c23e7 commit be5f62b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/frontend/admin_openshiftcluster_etcdcertificaterenew.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (e *etcdrenew) validateEtcdOperatorState(ctx context.Context) error {
}

func (e *etcdrenew) validateEtcdCertsExistsAndExpiry(ctx context.Context) error {
e.log.Infoln("validating if etcd certs exists, not expired but are close to expiry")
e.log.Infoln("validating if etcd certs exists and expiry")

for _, secretname := range e.secretNames {
e.log.Infof("validating secret %s", secretname)
Expand Down Expand Up @@ -295,7 +295,7 @@ func (e *etcdrenew) validateEtcdCertsExistsAndExpiry(ctx context.Context) error
return api.NewCloudError(http.StatusInternalServerError, api.CloudErrorCodeInternalServerError, "", "secret %s is already expired, quitting.", secretname)
}
}
e.log.Infoln("Etcd certs exits, are not expired but close to expiry")
e.log.Infoln("Etcd certs exits, are not expired")

return nil
}
Expand Down

0 comments on commit be5f62b

Please sign in to comment.