diff --git a/internal/pkg/overlay/datastructure.go b/internal/pkg/overlay/datastructure.go index 1838900b..2a427bee 100644 --- a/internal/pkg/overlay/datastructure.go +++ b/internal/pkg/overlay/datastructure.go @@ -60,8 +60,6 @@ func InitStruct(nodeInfo node.NodeInfo) TemplateStruct { // init some convininence vars tstruct.Id = nodeInfo.Id.Get() tstruct.Hostname = nodeInfo.Id.Get() - tstruct.Id = nodeInfo.Id.Get() - tstruct.Hostname = nodeInfo.Id.Get() // Backwards compatibility for templates using "Keys" tstruct.AllNodes = allNodes tstruct.Nfs = *controller.Nfs