mirror of
https://github.com/davidallendj/configurator.git
synced 2025-12-20 03:27:02 -07:00
Added small fix for CA cert path
This commit is contained in:
parent
f3adc49c26
commit
53f80fdd59
1 changed files with 6 additions and 0 deletions
|
|
@ -50,6 +50,12 @@ var generateCmd = &cobra.Command{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// use cert path from cobra if empty
|
||||||
|
// TODO: this needs to be checked for the correct desired behavior
|
||||||
|
if config.CertPath == "" {
|
||||||
|
config.CertPath = certPath
|
||||||
|
}
|
||||||
|
|
||||||
// use config plugins if none supplied via CLI
|
// use config plugins if none supplied via CLI
|
||||||
if len(pluginPaths) <= 0 {
|
if len(pluginPaths) <= 0 {
|
||||||
pluginPaths = append(pluginPaths, config.PluginDirs...)
|
pluginPaths = append(pluginPaths, config.PluginDirs...)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue