提交 5ae5be71 编写于 作者: A Asare Worae

fixed misuse of template variable

上级 2b2220ac
...@@ -210,7 +210,7 @@ func runStart(cmd *cobra.Command, args []string) { ...@@ -210,7 +210,7 @@ func runStart(cmd *cobra.Command, args []string) {
if viper.GetBool(createMount) { if viper.GetBool(createMount) {
mount := viper.GetString(mountString) mount := viper.GetString(mountString)
if len(existing.ContainerVolumeMounts) != 1 || existing.ContainerVolumeMounts[0] != mount { if len(existing.ContainerVolumeMounts) != 1 || existing.ContainerVolumeMounts[0] != mount {
out.WarningT("Due to the limitations of %s, it's not possible to change mount configuration of an existing cluster.", out.V{"driver": existing.Driver}) out.WarningT("Due to the limitations of {{.driver}}, it's not possible to change mount configuration of an existing cluster.", out.V{"driver": existing.Driver})
out.WarningT("If necessary delete and recreate the cluster, proceeding with old mount configuration") out.WarningT("If necessary delete and recreate the cluster, proceeding with old mount configuration")
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册