Skip to content

Commit

Permalink
feat(Limits): Adjusted keys to updated OpenStackSDK version of clients (
Browse files Browse the repository at this point in the history
#5976)

Co-authored-by: Ubuntu <vrudko@techfak.uni-bielefeld.de>
Co-authored-by: denbicloud <46009071+denbicloud@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 19, 2023
1 parent 319aa0a commit 9c2e9e9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/app/vo_manager/clients/modals/client-limits..component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ export class ClientLimitsComponent implements OnDestroy, OnInit {
.subscribe(
(cl: any) => {
this.client = new Client(null, null, null, cl['client_name'], null);
this.client.maxVolumeLimit = cl['maxTotalVolumeGigabytes'];
this.client.maxVolumeLimit = cl['max_total_volumeGigabytes'];
this.client.assignedVolumesStorage = cl['assigned_volume_gb'];
this.client.currentUsedVolumeStorage = cl['totalGigabytesUsed'];
this.client.currentUsedVolumeStorage = cl['total_gigabytes_used'];
this.client.newVolumeLimit = cl['new_volume_gb'];

this.client.maxVolumes = cl['maxTotalVolumes'];
this.client.maxVolumes = cl['max_total_volumes'];
this.client.assignedVolumes = cl['assigned_volumes'];
this.client.currentUsedVolumes = cl['totalVolumesUsed'];
this.client.currentUsedVolumes = cl['total_volumesUsed'];
this.client.newVolumes = cl['new_volumes'];

this.client.maxVMs = cl['max_total_instances'];
Expand Down Expand Up @@ -90,14 +90,14 @@ export class ClientLimitsComponent implements OnDestroy, OnInit {
.subscribe(
(cl: any) => {
this.client = new Client(null, null, null, cl['client_name'], null);
this.client.maxVolumeLimit = cl['maxTotalVolumeGigabytes'];
this.client.maxVolumeLimit = cl['max_total_volume_gigabytes'];
this.client.assignedVolumesStorage = cl['assigned_volume_gb'];
this.client.currentUsedVolumeStorage = cl['totalGigabytesUsed'];
this.client.currentUsedVolumeStorage = cl['total_gigabytes_used'];
this.client.newVolumeLimit = cl['new_volume_gb'];

this.client.maxVolumes = cl['maxTotalVolumes'];
this.client.maxVolumes = cl['max_total_volumes'];
this.client.assignedVolumes = cl['assigned_volumes'];
this.client.currentUsedVolumes = cl['totalVolumesUsed'];
this.client.currentUsedVolumes = cl['total_volumes_used'];
this.client.newVolumes = cl['new_volumes'];

this.client.maxVMs = cl['max_total_instances'];
Expand Down Expand Up @@ -137,14 +137,14 @@ export class ClientLimitsComponent implements OnDestroy, OnInit {
this.clientService.getClientLimits(this.client.id).subscribe(
(cl: any) => {
this.client = new Client(null, null, null, cl['client_name'], null);
this.client.maxVolumeLimit = cl['maxTotalVolumeGigabytes'];
this.client.maxVolumeLimit = cl['max_total_volume_gigabytes'];
this.client.assignedVolumesStorage = cl['assigned_volume_gb'];
this.client.currentUsedVolumeStorage = cl['totalGigabytesUsed'];
this.client.currentUsedVolumeStorage = cl['total_gigabytes_used'];
// this.client.newVolumeLimit = client['new_volume_gb'];

this.client.maxVolumes = cl['maxTotalVolumes'];
this.client.maxVolumes = cl['max_total_volumes'];
this.client.assignedVolumes = cl['assigned_volumes'];
this.client.currentUsedVolumes = cl['totalVolumesUsed'];
this.client.currentUsedVolumes = cl['total_volumes_used'];
// this.client.newVolumes = client['new_volumes'];

this.client.maxVMs = cl['max_total_instances'];
Expand Down

0 comments on commit 9c2e9e9

Please sign in to comment.