Skip to content

Commit

Permalink
Remove redundant is remote dependency check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsanta committed Sep 5, 2023
1 parent 1dadb1e commit 66c0671
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/skaffold/parser/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,8 @@ func processEachConfig(ctx context.Context, config *latest.SkaffoldConfig, cfgOp
}
}
}
isRemoteDependency := d.GitRepo != nil || d.GoogleCloudStorage != nil
// These configOpts are overwritten by the processEachDependency function.
newOpts := configOpts{file: cfgOpts.file, profiles: depProfiles, isRequired: required, isDependency: cfgOpts.isDependency, isRemote: isRemoteDependency}
newOpts := configOpts{file: cfgOpts.file, profiles: depProfiles, isRequired: required, isDependency: cfgOpts.isDependency}
depConfigs, err := processEachDependency(ctx, d, newOpts, opts, r)
if err != nil {
return nil, err
Expand Down

0 comments on commit 66c0671

Please sign in to comment.