Details
-
Task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.6.0
-
None
-
None
Description
In the current PU UI, the revert button is shown for any PATCH type repository. The backend should compute whether a version can be reverted.
The backed should return a value, such as ClusterStackVersions/supports_revert which clients, such as the web client, can use.
Example REST Changes
{ "ClusterStackVersions": { "cluster_name": "c1", "id": 51, "repository_version": 51, "revert_upgrade_id": 1, "stack": "HDP", "supports_revert": true, "version": "2.6" } }