Configure nodes.conf path dynamically from config

Removes the use of init() to initialize the variable.

- Closes: #1596
- See also: #1569

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-12-12 12:11:04 -07:00
parent b0d0e26b4a
commit a80ba8ee01
30 changed files with 78 additions and 203 deletions

View File

@@ -26,7 +26,6 @@ var (
)
func init() {
// Nothing to do here
baseCmd.PersistentFlags().BoolVarP(&Build, "build", "b", false, "Build container after copy")
}

View File

@@ -25,7 +25,6 @@ var baseCmd = &cobra.Command{
var SetBuild bool
func init() {
// Nothing to do here
baseCmd.PersistentFlags().BoolVarP(&SetBuild, "build", "b", false, "Build container after rename")
}