Skip to content

Commit

Permalink
🐛 fix threadsPerCore on gke project nodePool config (#5135)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeffrey authored Jan 30, 2025
1 parent 8f5e9f1 commit 05f5a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/gcp/resources/gke.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ func createMqlNodePoolConfig(runtime *plugin.Runtime, np *containerpb.NodePool,
if cfg.AdvancedMachineFeatures != nil {
mqlAdvancedMachineFeatures, err = CreateResource(runtime, "gcp.project.gkeService.cluster.nodepool.config.advancedMachineFeatures", map[string]*llx.RawData{
"id": llx.StringData(fmt.Sprintf("%s/advancedMachineFeatures", nodePoolId)),
"threadsPerCore": llx.BoolData(cfg.Gvnic.Enabled),
"threadsPerCore": llx.IntDataPtr(cfg.AdvancedMachineFeatures.ThreadsPerCore),
})
if err != nil {
return nil, err
Expand Down

0 comments on commit 05f5a47

Please sign in to comment.