Index node database for daemon to make lookups always instantaneous
This commit is contained in:
10
internal/app/wwctl/server/reload/main.go
Normal file
10
internal/app/wwctl/server/reload/main.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package reload
|
||||
|
||||
import (
|
||||
"github.com/hpcng/warewulf/internal/pkg/warewulfd"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func CobraRunE(cmd *cobra.Command, args []string) error {
|
||||
return warewulfd.DaemonReload()
|
||||
}
|
||||
Reference in New Issue
Block a user