removed NodeInfo and using NodeConf instead
This is a significant change in the undelying data model! nodeDb, err := node.New() will result in a structure which contains the on disk values. Only nodeDb.FindAllNodes() or nodeDb.GetNode(id) will give the nodes with its merged in profiles. Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
dc8fb2d6f2
commit
28a7b9fe84
6
internal/pkg/node/error.go
Normal file
6
internal/pkg/node/error.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package node
|
||||
|
||||
import "errors"
|
||||
|
||||
var ErrNotFound = errors.New("node/profile not found")
|
||||
var ErrNoUnconfigured = errors.New("no unconfigured node")
|
||||
Reference in New Issue
Block a user