mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
kubeadm: fix bug for --cri-socket flag processing logic
This commit is contained in:
parent
85aaf7ea36
commit
62c7f4317f
1 changed files with 3 additions and 0 deletions
|
|
@ -118,6 +118,9 @@ func newResetData(cmd *cobra.Command, options *resetOptions, in io.Reader, out i
|
|||
return nil, err
|
||||
}
|
||||
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{
|
||||
|
|
|
|||
Loading…
Reference in a new issue