Merge pull request #5323 from justinsb/dont_always_print_state_store

Don't always print state store path
This commit is contained in:
k8s-ci-robot 2018-06-14 07:04:28 -07:00 committed by GitHub
commit 6fe589fdfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ Trailing slash will be trimmed.`
func (f *Factory) Clientset() (simple.Clientset, error) {
if f.clientset == nil {
registryPath := f.options.RegistryPath
fmt.Println("Config S3:", registryPath)
glog.V(2).Infof("state store %s", registryPath)
if registryPath == "" {
return nil, field.Required(field.NewPath("State Store"), STATE_ERROR)
}