mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-03 14:53:52 +00:00
kubeadm: fix bug for --cri-socket flag processing logic
This commit is contained in:
@@ -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{
|
||||||
|
|||||||
Reference in New Issue
Block a user