]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: RGW - Tiering form - secret key fix 62776/head
authorDnyaneshwari <dnyaneshwari@li-9c9fbecc-2d5c-11b2-a85c-e2a7cc8a424f.ibm.com>
Fri, 11 Apr 2025 07:44:27 +0000 (13:14 +0530)
committerDnyaneshwari <dnyaneshwari@li-9c9fbecc-2d5c-11b2-a85c-e2a7cc8a424f.ibm.com>
Fri, 11 Apr 2025 07:48:16 +0000 (13:18 +0530)
Fixes: https://tracker.ceph.com/issues/70888
Signed-off-by: Dnyaneshwari Talwekar <dtalwekar@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-storage-class-form/rgw-storage-class-form.component.ts

index d380f08bcc0f65191c6681fba1604d28546acb0b..25c4de89fd797d936e81ae5dd9959b3b7e7ec371 100644 (file)
@@ -107,7 +107,7 @@ export class RgwStorageClassFormComponent extends CdForm implements OnInit {
           this.storageClassForm.get('endpoint').setValue(response.endpoint);
           this.storageClassForm.get('storage_class').setValue(this.storageClassInfo.storage_class);
           this.storageClassForm.get('access_key').setValue(response.access_key);
-          this.storageClassForm.get('secret_key').setValue(response.access_key);
+          this.storageClassForm.get('secret_key').setValue(response.secret);
           this.storageClassForm.get('target_path').setValue(response.target_path);
           this.storageClassForm
             .get('retain_head_object')