Merge pull request #1086 from coreos/chancez-patch-1
storage/kubernetes: Log before registering custom resources
This commit is contained in:
commit
fe2aee364c
@ -85,6 +85,7 @@ func (c *Config) open(logger logrus.FieldLogger, errOnResources bool) (*client,
|
|||||||
|
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
|
|
||||||
|
logger.Info("creating custom Kubernetes resources")
|
||||||
if !cli.registerCustomResources(c.UseTPR) {
|
if !cli.registerCustomResources(c.UseTPR) {
|
||||||
if errOnResources {
|
if errOnResources {
|
||||||
cancel()
|
cancel()
|
||||||
|
Reference in New Issue
Block a user