Add seperate annotation for secret

This commit is contained in:
faizanahmad055
2018-07-17 15:20:01 +05:00
parent d2ae8ce4cb
commit d9379d18f2
3 changed files with 58 additions and 32 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ func (r ResourceCreatedHandler) Handle() error {
} else if _, ok := r.Resource.(*v1.Secret); ok {
logrus.Infof("Performing 'Added' action for resource of type 'secret'")
} else {
logrus.Warnf("Invalid resource: Resource should be 'Secret' or 'Configmap' but found %v", r.Resource)
logrus.Warnf("Invalid resource: Resource should be 'Secret' or 'Configmap' but found, %v", r.Resource)
}
}
return nil