Просмотр исходного кода

Fix typo in appliance licensing status JSON.

Nashwan Azhari 5 лет назад
Родитель
Сommit
2cf24d9e28

+ 2 - 2
src/components/organisms/DashboardContent/modules/LicenceModule/LicenceModule.tsx

@@ -156,7 +156,7 @@ class LicenceModule extends React.Component<Props> {
           current: info.lifetimePerformedReplicas,
           total: info.lifetimeAvailableReplicas,
           label: 'Lifetime Replicas',
-          info: 'The number of replicas perfomed over the number of replicas licenced from all licences (including expired licences)',
+          info: 'The number of replicas perfomred over the number of replicas licenced from all licences (including expired licences)',
         },
       ],
       [
@@ -172,7 +172,7 @@ class LicenceModule extends React.Component<Props> {
           current: info.lifetimePerformedMigrations,
           total: info.lifetimeAvailableMigrations,
           label: 'Lifetime Migrations',
-          info: 'The number of migrations perfomed over the number of migrations licenced from all licences (including expired licences)',
+          info: 'The number of migrations performed over the number of migrations licenced from all licences (including expired licences)',
         },
       ],
     ]

+ 2 - 2
src/sources/LincenceSource.ts

@@ -42,8 +42,8 @@ class LicenceSource {
       latestLicenceExpiryDate: new Date(root.latest_licence_expiry_time),
       currentPerformedMigrations: root.current_performed_migrations,
       currentPerformedReplicas: root.current_performed_replicas,
-      lifetimePerformedMigrations: root.lifetime_perfomed_migrations,
-      lifetimePerformedReplicas: root.lifetime_perfomed_replicas,
+      lifetimePerformedMigrations: root.lifetime_performed_migrations,
+      lifetimePerformedReplicas: root.lifetime_performed_replicas,
       currentAvailableMigrations: root.current_available_migrations,
       currentAvailableReplicas: root.current_available_replicas,
       lifetimeAvailableMigrations: root.lifetime_available_migrations,