mgr/dashboard: fix restored RBD image naming issue (#31590)

mgr/dashboard: fix restored RBD image naming issue

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
This commit is contained in:
Lenz Grimmer 2019-11-20 14:33:48 +00:00 committed by GitHub
commit 6de9592862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ export class RbdService {
});
}
restoreTrash(poolName, namespace, imageId, newImageName) {
restoreTrash(poolName, namespace, imageId, @cdEncodeNot newImageName) {
const imageSpec = this.getImageSpec(poolName, namespace, imageId);
return this.http.post(
`api/block/image/trash/${encodeURIComponent(imageSpec)}/restore`,