Skip to content

Commit

Permalink
Merge pull request #951 from priyawadhwa/helm
Browse files Browse the repository at this point in the history
Get namespace for updating objects from build artifact
  • Loading branch information
priyawadhwa authored Sep 4, 2018
2 parents 3cfdf89 + e6421c0 commit 1354cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/skaffold/deploy/labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func updateRuntimeObject(client dynamic.Interface, disco discovery.DiscoveryInte
return errors.Wrap(err, "getting metadata accessor")
}
name := accessor.GetName()
namespace := accessor.GetNamespace()
namespace := res.Namespace
addLabels(labels, accessor)

modifiedJSON, _ := json.Marshal(modifiedObj)
Expand Down

0 comments on commit 1354cb4

Please sign in to comment.