Cleanup code comment (#1068)

This change removes unnecessary comment.
This commit is contained in:
Tomofumi Hayashi 2023-04-13 22:41:14 +09:00 committed by GitHub
parent 7c22973f9f
commit b4bea43f7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,6 @@ func (o *Options) addFlags() {
fs.StringVar(&o.MultusBinFile, "multus-bin-file", "/usr/src/multus-cni/bin/multus", "multus binary file path")
fs.BoolVar(&o.SkipMultusBinaryCopy, "skip-multus-binary-copy", false, "skip multus binary file copy")
// XXX Note: idea: "auto", create kubeconfig and update auto. otherwise just use given file path
fs.StringVar(&o.MultusKubeConfigFileHost, "multus-kubeconfig-file-host", "/etc/cni/net.d/multus.d/multus.kubeconfig", "kubeconfig for multus (used only with --multus-conf-file=auto)")
fs.StringVar(&o.MultusMasterCNIFileName, "multus-master-cni-file-name", "", "master CNI file in multus-autoconfig-dir")
fs.BoolVar(&o.NamespaceIsolation, "namespace-isolation", false, "namespace isolation")
@ -509,7 +508,6 @@ func main() {
fmt.Fprintf(os.Stderr, "%v\n", err)
return
}
//XXX: RenameConfFile and CleanupConfigOnExit might be conflict, so need to check
// copy multus binary
if !opt.SkipMultusBinaryCopy {