mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	glog non-fatal, usually unimportant error instead of fmt
This commit is contained in:
		@@ -33,6 +33,7 @@ import (
 | 
				
			|||||||
	"time"
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/emicklei/go-restful/swagger"
 | 
						"github.com/emicklei/go-restful/swagger"
 | 
				
			||||||
 | 
						"github.com/golang/glog"
 | 
				
			||||||
	"github.com/spf13/cobra"
 | 
						"github.com/spf13/cobra"
 | 
				
			||||||
	"github.com/spf13/pflag"
 | 
						"github.com/spf13/pflag"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -337,7 +338,7 @@ func (f *factory) Object() (meta.RESTMapper, runtime.ObjectTyper) {
 | 
				
			|||||||
		// register third party resources with the api machinery groups.  This probably should be done, but
 | 
							// register third party resources with the api machinery groups.  This probably should be done, but
 | 
				
			||||||
		// its consistent with old code, so we'll start with it.
 | 
							// its consistent with old code, so we'll start with it.
 | 
				
			||||||
		if err := registerThirdPartyResources(discoveryClient); err != nil {
 | 
							if err := registerThirdPartyResources(discoveryClient); err != nil {
 | 
				
			||||||
			fmt.Fprintf(os.Stderr, "Unable to register third party resources: %v\n", err)
 | 
								glog.V(1).Infof("Unable to register third party resources: %v", err)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		// ThirdPartyResourceData is special.  It's not discoverable, but needed for thirdparty resource listing
 | 
							// ThirdPartyResourceData is special.  It's not discoverable, but needed for thirdparty resource listing
 | 
				
			||||||
		// TODO eliminate this once we're truly generic.
 | 
							// TODO eliminate this once we're truly generic.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user