From 038d326e2a01b45818ccc36bfbfd917c582b3d9e Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Thu, 5 Dec 2024 15:11:15 +0100 Subject: [PATCH] use getter --- nodes/node_registry.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodes/node_registry.go b/nodes/node_registry.go index 213b5f16d..f46ba1d43 100644 --- a/nodes/node_registry.go +++ b/nodes/node_registry.go @@ -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 {