Commit 6cb38604 authored by Eric Chiang's avatar Eric Chiang

storage/kubernetes: log INFO level if TPR already exists, not ERROR

parent d31bb1c8
...@@ -127,7 +127,7 @@ func (cli *client) createThirdPartyResources() (ok bool) { ...@@ -127,7 +127,7 @@ func (cli *client) createThirdPartyResources() (ok bool) {
if err != nil { if err != nil {
switch err { switch err {
case storage.ErrAlreadyExists: case storage.ErrAlreadyExists:
cli.logger.Errorf("third party resource already created %s", r.ObjectMeta.Name) cli.logger.Infof("third party resource already created %s", r.ObjectMeta.Name)
case storage.ErrNotFound: case storage.ErrNotFound:
cli.logger.Errorf("third party resources not found, please enable API group extensions/v1beta1") cli.logger.Errorf("third party resources not found, please enable API group extensions/v1beta1")
ok = false ok = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment