new apinode namespace in wwapid

This commit is contained in:
Christian Goll
2022-07-13 16:05:16 +02:00
parent 14b86a5e8e
commit d10b4c352f
4 changed files with 12 additions and 12 deletions

View File

@@ -5,14 +5,14 @@ import (
"sort"
"strings"
"github.com/hpcng/warewulf/internal/pkg/api/node"
apinode "github.com/hpcng/warewulf/internal/pkg/api/node"
"github.com/hpcng/warewulf/internal/pkg/wwlog"
"github.com/spf13/cobra"
)
func CobraRunE(cmd *cobra.Command, args []string) (err error) {
nodeInfo, err := node.NodeList(args)
nodeInfo, err := apinode.NodeList(args)
if err != nil {
wwlog.Printf(wwlog.ERROR, "Could not open node configuration: %s\n", err)
return