mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	remove check for multiple resource types
This commit is contained in:
		@@ -189,7 +189,7 @@ func RunGet(f cmdutil.Factory, out, errOut io.Writer, cmd *cobra.Command, args [
 | 
			
		||||
 | 
			
		||||
	// always show resources when getting by name or filename, or if the output
 | 
			
		||||
	// is machine-consumable, or if multiple resource kinds were requested.
 | 
			
		||||
	if len(options.Filenames) > 0 || argsHasNames || cmdutil.OutputsRawFormat(cmd) || resource.MultipleTypesRequested(args) {
 | 
			
		||||
	if len(options.Filenames) > 0 || argsHasNames || cmdutil.OutputsRawFormat(cmd) {
 | 
			
		||||
		if !cmd.Flag("show-all").Changed {
 | 
			
		||||
			cmd.Flag("show-all").Value.Set("true")
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user