mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	move cmd/util/printing.go#PrintSuccess to factory_builder.go
This commit is contained in:
		@@ -291,7 +291,7 @@ func (o AnnotateOptions) RunAnnotate(f cmdutil.Factory, cmd *cobra.Command) erro
 | 
			
		||||
		if len(o.outputFormat) > 0 {
 | 
			
		||||
			return f.PrintObject(cmd, o.local, mapper, outputObj, o.out)
 | 
			
		||||
		}
 | 
			
		||||
		cmdutil.PrintSuccess(mapper, false, o.out, info.Mapping.Resource, info.Name, o.dryrun, "annotated")
 | 
			
		||||
		f.PrintSuccess(mapper, false, o.out, info.Mapping.Resource, info.Name, o.dryrun, "annotated")
 | 
			
		||||
		return nil
 | 
			
		||||
	})
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user