Skip to content

Commit

Permalink
use getter
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Dec 5, 2024
1 parent a7a0f3d commit 038d326
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nodes/node_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ func (nre *NodeRegistryEntry) GetCredentials() *Credentials {
if nre.attributes == nil {
return nil
}
return nre.attributes.credentials

return nre.attributes.GetCredentials()
}

func (nre *NodeRegistryEntry) GetGenerateAttributes() *GenerateNodeAttributes {
Expand Down

0 comments on commit 038d326

Please sign in to comment.