mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Refactor: pkg/util into sub-pkgs
This commit is contained in:
		@@ -21,7 +21,7 @@ import (
 | 
			
		||||
	"strings"
 | 
			
		||||
 | 
			
		||||
	"k8s.io/apiserver/pkg/util/flag"
 | 
			
		||||
	"k8s.io/kubernetes/pkg/util"
 | 
			
		||||
	utiltemplate "k8s.io/kubernetes/pkg/util/template"
 | 
			
		||||
 | 
			
		||||
	"github.com/spf13/pflag"
 | 
			
		||||
)
 | 
			
		||||
@@ -49,7 +49,7 @@ func (s *Server) Usage() error {
 | 
			
		||||
Available Flags:
 | 
			
		||||
{{.Flags.FlagUsages}}`
 | 
			
		||||
 | 
			
		||||
	return util.ExecuteTemplate(s.hk.Out(), tt, s)
 | 
			
		||||
	return utiltemplate.ExecuteTemplate(s.hk.Out(), tt, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Name returns the name of the command as derived from the usage line.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user