]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix variable capitalization in embedded rbd-details panel 59575/head
authorJuan Ferrer Toribio <22457707+juan-ferrer-toribio@users.noreply.github.com>
Tue, 3 Sep 2024 09:02:42 +0000 (11:02 +0200)
committerGitHub <noreply@github.com>
Tue, 3 Sep 2024 09:02:42 +0000 (11:02 +0200)
Fix capitalization of image and pool variables in embedded grafana rbd-details panel

Fixes: https://tracker.ceph.com/issues/67849
Signed-off-by: Juan Ferrer Toribio <22457707+juan-ferrer-toribio@users.noreply.github.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.ts

index ee06198d1687c199918efc3c86d1adc537659c4f..5cb980bef10ada923f67ccc89a0ad7b0a470fb2a 100644 (file)
@@ -25,7 +25,7 @@ export class RbdDetailsComponent implements OnChanges {
 
   ngOnChanges() {
     if (this.selection) {
-      this.rbdDashboardUrl = `rbd-details?var-Pool=${this.selection['pool_name']}&var-Image=${this.selection['name']}`;
+      this.rbdDashboardUrl = `rbd-details?var-pool=${this.selection['pool_name']}&var-image=${this.selection['name']}`;
     }
   }
 }