Skip to content

Commit

Permalink
fix: add cloud run deployer nil check (#7729)
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 authored Aug 3, 2022
1 parent 06ded12 commit 31d7fc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/skaffold/schema/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ func SetDefaultRenderer(c *latest.SkaffoldConfig) {
if c.Deploy.DockerDeploy != nil {
return
}
if c.Deploy.CloudRunDeploy != nil {
return
}
// Set default manifests to "k8s/*.yaml", same as v1.
c.Render.Generate.RawK8s = constants.DefaultKubectlManifests
}
Expand Down

0 comments on commit 31d7fc2

Please sign in to comment.