mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
prevent restmapper lookup for kubectl reconcile
This commit is contained in:
@@ -138,6 +138,7 @@ func (o *ReconcileOptions) Complete(cmd *cobra.Command, f cmdutil.Factory, args
|
||||
NamespaceParam(namespace).DefaultNamespace().
|
||||
FilenameParam(enforceNamespace, o.FilenameOptions).
|
||||
Flatten().
|
||||
Local().
|
||||
Do()
|
||||
|
||||
if err := r.Err(); err != nil {
|
||||
|
Reference in New Issue
Block a user