@@ -1407,13 +1407,13 @@ func mapFields(ctx context.Context, cl *ske.Cluster, m *Model, region string) er
14071407 return nil
14081408}
14091409
1410- func mapNodePools (ctx context.Context , cl * ske.Cluster , m * Model ) error {
1410+ func mapNodePools (ctx context.Context , cl * ske.Cluster , model * Model ) error {
14111411 modelNodePoolOSVersion := map [string ]basetypes.StringValue {}
14121412 modelNodePoolOSVersionMin := map [string ]basetypes.StringValue {}
14131413
14141414 modelNodePools := []nodePool {}
1415- if ! m .NodePools .IsNull () && ! m .NodePools .IsUnknown () {
1416- diags := m .NodePools .ElementsAs (ctx , & modelNodePools , false )
1415+ if ! model .NodePools .IsNull () && ! model .NodePools .IsUnknown () {
1416+ diags := model .NodePools .ElementsAs (ctx , & modelNodePools , false )
14171417 if diags .HasError () {
14181418 return core .DiagsToError (diags )
14191419 }
@@ -1428,7 +1428,7 @@ func mapNodePools(ctx context.Context, cl *ske.Cluster, m *Model) error {
14281428 }
14291429
14301430 if cl .Nodepools == nil {
1431- m .NodePools = types .ListNull (types.ObjectType {AttrTypes : nodePoolTypes })
1431+ model .NodePools = types .ListNull (types.ObjectType {AttrTypes : nodePoolTypes })
14321432 return nil
14331433 }
14341434
@@ -1504,7 +1504,7 @@ func mapNodePools(ctx context.Context, cl *ske.Cluster, m *Model) error {
15041504 if diags .HasError () {
15051505 return core .DiagsToError (diags )
15061506 }
1507- m .NodePools = nodePoolsTF
1507+ model .NodePools = nodePoolsTF
15081508 return nil
15091509}
15101510
0 commit comments