From 148431e8f2d80bc0a13669f94ecb08306c662ba2 Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Tue, 28 Dec 2021 13:56:30 -0800 Subject: [PATCH] Minor cleanup of output --- internal/pkg/node/constructors.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/pkg/node/constructors.go b/internal/pkg/node/constructors.go index 596a6b43..0d8b1c0f 100644 --- a/internal/pkg/node/constructors.go +++ b/internal/pkg/node/constructors.go @@ -1,7 +1,6 @@ package node import ( - "fmt" "io/ioutil" "sort" "strings" @@ -17,10 +16,9 @@ const ConfigFile = "/etc/warewulf/nodes.conf" func New() (nodeYaml, error) { var ret nodeYaml - wwlog.Printf(wwlog.DEBUG, "Opening node configuration file: %s\n", ConfigFile) + wwlog.Printf(wwlog.VERBOSE, "Opening node configuration file: %s\n", ConfigFile) data, err := ioutil.ReadFile(ConfigFile) if err != nil { - fmt.Printf("error reading node configuration file\n") return ret, err }