Don't ignore channel value in toolbox template

This commit is contained in:
Ciprian Hacman 2021-10-02 10:18:38 +03:00
parent 49ceac1529
commit d9d0658f54
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ func runToolBoxTemplate(f *util.Factory, out io.Writer, options *toolboxTemplate
}
}
channelLocation := ""
channelLocation := options.channel
if channelLocation == "" {
channelLocation = kopsapi.DefaultChannel
}