Index node database for daemon to make lookups always instantaneous

This commit is contained in:
Gregory Kurtzer
2021-02-12 22:58:22 -08:00
parent 30c6b64413
commit d00ea3ba00
11 changed files with 184 additions and 28 deletions

View File

@@ -0,0 +1,19 @@
package restart
import "github.com/spf13/cobra"
var (
baseCmd = &cobra.Command{
Use: "restart",
Short: "Restart the Warewulf server",
RunE: CobraRunE,
}
)
func init() {
}
// GetRootCommand returns the root cobra.Command for the application.
func GetCommand() *cobra.Command {
return baseCmd
}