Skip to content

Commit

Permalink
Remove additional fields for create uploads to avoid breaking tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Kiess committed Feb 1, 2022
1 parent 612fc76 commit 98c8e78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/release_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ func (m ReleaseManager) createAndUploadRelease(rel boshdir.ManifestRelease) (pat
return nil, bosherr.WrapErrorf(err, "Processing release '%s/%s'", rel.Name, rel.Version)
}

uploadOpts = cmdopts.UploadReleaseOpts{Release: release, Version: cmdopts.VersionArg{}, Name: rel.Name}
uploadOpts.Version.UnmarshalFlag(rel.Version)
uploadOpts = cmdopts.UploadReleaseOpts{Release: release}

replaceOp := patch.ReplaceOp{
// equivalent to /releases/name=?/version
Expand Down

0 comments on commit 98c8e78

Please sign in to comment.