kubeadm: fix bug for --cri-socket flag processing logic

k3s-v1.15.3
SataQiu 2019-06-28 10:42:37 +08:00
parent 162b46b388
commit 8e34534bbf
1 changed files with 3 additions and 0 deletions

View File

@ -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{