mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
kubeadm: fix bug for --cri-socket flag processing logic
This commit is contained in:
parent
85aaf7ea36
commit
62c7f4317f
@ -118,6 +118,9 @@ func newResetData(cmd *cobra.Command, options *resetOptions, in io.Reader, out i
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
klog.V(1).Infof("[reset] Detected and using CRI socket: %s", criSocketPath)
|
klog.V(1).Infof("[reset] Detected and using CRI socket: %s", criSocketPath)
|
||||||
|
} else {
|
||||||
|
criSocketPath = options.criSocketPath
|
||||||
|
klog.V(1).Infof("[reset] Using specified CRI socket: %s", criSocketPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
return &resetData{
|
return &resetData{
|
||||||
|
Loading…
Reference in New Issue
Block a user