Updates to overlay cli for NodeDB updates

This commit is contained in:
Gregory Kurtzer
2020-11-26 19:18:28 -08:00
parent 4ba0cb7bcd
commit 3caeac0c9d
9 changed files with 20 additions and 22 deletions

View File

@@ -69,10 +69,10 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
if SystemOverlay == true {
wwlog.Printf(wwlog.INFO, "Updating System Overlays...\n")
return overlay.SystemBuild(updateNodes, true)
return overlay.BuildSystemOverlay(updateNodes)
} else {
wwlog.Printf(wwlog.INFO, "Updating Runtime Overlays...\n")
return overlay.RuntimeBuild(updateNodes, true)
return overlay.BuildRuntimeOverlay(updateNodes)
}
}