Rename NodeConf to NodesConf

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-11-03 15:29:37 -07:00
parent 76acd8ff80
commit fdbdf88df0
14 changed files with 44 additions and 44 deletions

View File

@@ -11,7 +11,7 @@ import (
/*
Calculate the hash of NodeYaml in an orderder fashion
*/
func (config *NodeYaml) Hash() [32]byte {
func (config *NodesYaml) Hash() [32]byte {
// flatten out profiles and nodes
for _, val := range config.NodeProfiles {
val.Flatten()
@@ -29,7 +29,7 @@ func (config *NodeYaml) Hash() [32]byte {
/*
Return the hash as string
*/
func (config *NodeYaml) StringHash() string {
func (config *NodesYaml) StringHash() string {
buffer := config.Hash()
return hex.EncodeToString(buffer[:])
}