From 66c067121811922f6ea1c2040b1282d5bc30b798 Mon Sep 17 00:00:00 2001 From: Matt Santa Date: Tue, 5 Sep 2023 12:34:41 -0400 Subject: [PATCH] Remove redundant is remote dependency check --- pkg/skaffold/parser/config.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/skaffold/parser/config.go b/pkg/skaffold/parser/config.go index af67ec9edd0..aa715344b87 100644 --- a/pkg/skaffold/parser/config.go +++ b/pkg/skaffold/parser/config.go @@ -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