Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
fix ineffassign issues exposed in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed May 31, 2019
1 parent 83ea345 commit 58319f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/specs/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (r *Resolver) ResolveUnforkRelease(ctx context.Context, upstream string, fo
return nil, errors.New("Unsupported fork and upstream combination")
}

forkedAsset := api.Asset{}
var forkedAsset api.Asset
switch forkedApp.GetType() {
case "helm":
forkedAsset = api.Asset{
Expand Down Expand Up @@ -89,7 +89,7 @@ func (r *Resolver) ResolveUnforkRelease(ctx context.Context, upstream string, fo
return nil, errors.Errorf("unknown forked application type %q", forkedApp.GetType())
}

upstreamAsset := api.Asset{}
var upstreamAsset api.Asset
switch upstreamApp.GetType() {
case "helm":
upstreamAsset = api.Asset{
Expand Down

0 comments on commit 58319f0

Please sign in to comment.