The option to select an existing realm for replication is not coming up in the wizard even though a realm created and eligible for replication.
Fixes: https://tracker.ceph.com/issues/73563
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
};
}
+interface RealmsInfo {
+ default_info: string;
+ realms: string[];
+}
+
interface EndpointInfo {
hostname: string;
port: number;
this.stepsToSkip[step.label] = false;
});
- this.rgwRealmService.list().subscribe((realms: string[]) => {
- this.realmList = realms;
+ this.rgwRealmService.list().subscribe((realmsInfo: RealmsInfo) => {
+ this.realmList = realmsInfo?.realms || [];
this.showConfigType = this.realmList.length > 0;
if (this.showConfigType) {
this.multisiteSetupForm.get('selectedRealm')?.setValue(this.realmList[0]);