Skip to content

Commit

Permalink
fix: Use gcloud spec pool instead of deprecated WorkerPool (#6658)
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 authored Oct 1, 2021
1 parent 26dc1b8 commit bc3824b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/skaffold/build/gcb/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ func (b *Builder) buildSpec(ctx context.Context, artifact *latestV1.Artifact, ta
}
buildSpec.Options.DiskSizeGb = b.DiskSizeGb
buildSpec.Options.MachineType = b.MachineType
buildSpec.Options.WorkerPool = b.WorkerPool
if b.WorkerPool != "" {
buildSpec.Options.Pool = &cloudbuild.PoolOption{Name: b.WorkerPool}
}
buildSpec.Options.Logging = b.Logging
buildSpec.Options.LogStreamingOption = b.LogStreamingOption
buildSpec.Timeout = b.Timeout
Expand Down

0 comments on commit bc3824b

Please sign in to comment.