Merge branch 'development' into issue/690

This commit is contained in:
jason yang
2023-03-28 07:09:33 +00:00
65 changed files with 1323 additions and 593 deletions

View File

@@ -290,11 +290,7 @@ func NodeStatus(nodeNames []string) (nodeStatusResponse *wwapiv1.NodeStatusRespo
Nodes map[string]*nodeStatusInternal `json:"nodes"`
}
controller, err := warewulfconf.New()
if err != nil {
wwlog.Error("%s", err)
return
}
controller := warewulfconf.New()
if controller.Ipaddr == "" {
err = fmt.Errorf("the Warewulf Server IP Address is not properly configured")