Skip to content

Commit

Permalink
Remove deprecated rollback method.
Browse files Browse the repository at this point in the history
Use the rollback(RollbackRequest rollbackRequest) method.

resolves #6022

Signed-off-by: Glenn Renfro <[email protected]>
  • Loading branch information
cppwfs committed Nov 5, 2024
1 parent 4571f8d commit 1337af8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,6 @@ public Release rollback(RollbackRequest rollbackRequest) {
return resourceResponseEntity.getBody();
}

@Override
public Release rollback(String releaseName, int releaseVersion) {
return rollback(new RollbackRequest(releaseName, releaseVersion));
}

@Override
public List<Release> list(String releaseNameLike) {
ParameterizedTypeReference<HateoasResponseWrapper<ReleasesResponseWrapper>> typeReference =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,6 @@ static SkipperClient create(String baseUrl) {
*/
Release rollback(RollbackRequest rollbackRequest);

/**
* Rollback a specific release.
*
* @param releaseName the release name
* @param releaseVersion the release version
* @return the rolled back {@link Release}
* @see #rollback(RollbackRequest)
* @deprecated use rollback method taking a rollback request
*/
@Deprecated
Release rollback(String releaseName, int releaseVersion);

/**
* Sends a cancel request for current release operation
*
Expand Down

0 comments on commit 1337af8

Please sign in to comment.