Skip to content

Commit 7e7fabc

Browse files
authored
Include the node groups selector in the API spec ID (#2354)
1 parent 87699ec commit 7e7fabc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: pkg/types/spec/api.go

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ func GetAPISpec(apiConfig *userconfig.API, initialDeploymentTime int64, deployme
7575
buf.WriteString(s.Obj(apiConfig.Networking))
7676
buf.WriteString(s.Obj(apiConfig.Autoscaling))
7777
buf.WriteString(s.Obj(apiConfig.UpdateStrategy))
78+
buf.WriteString(s.Obj(apiConfig.NodeGroups))
7879
specID := hash.Bytes(buf.Bytes())[:32]
7980

8081
apiID := fmt.Sprintf("%s-%s-%s", MonotonicallyDecreasingID(), deploymentID, specID) // should be up to 60 characters long

0 commit comments

Comments
 (0)