Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
Signed-off-by: David Gageot <david@gageot.net>
  • Loading branch information
dgageot committed Jan 8, 2020
1 parent b8300ce commit 5859e18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/skaffold/schema/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ func defaultToKubectlDeploy(c *latest.SkaffoldConfig) {
}

func withLocalBuild(c *latest.SkaffoldConfig, operations ...func(*latest.LocalBuild)) {
if gcb := c.Build.LocalBuild; gcb != nil {
if local := c.Build.LocalBuild; local != nil {
for _, operation := range operations {
operation(gcb)
operation(local)
}
}
}
Expand Down

0 comments on commit 5859e18

Please sign in to comment.