Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Do
-
None
-
None
Description
It is currently possible to set the CURRENT repo_version for a component. The API is a little misleading. The call below should also check for the version string, not just the display name. Could also check for the id itself too.
PUT /api/v1/clusters/c1/stack_versions { "ClusterStackVersions": { "force": true, "state": "CURRENT", "repository_version": "HDP-2.5.1.0" <------- must be display name } }