]> git.proxmox.com Git - flutter/proxmox_dart_api_client.git/commitdiff
client: clarify comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 14 Dec 2021 20:05:31 +0000 (21:05 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 14 Dec 2021 20:05:31 +0000 (21:05 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
lib/src/client.dart

index 55ee53eed4316013355f5a89aafc23b5011663d1..cde7b6d6a6229e7b574cddacbe1e5c4201156064 100644 (file)
@@ -509,7 +509,7 @@ class ProxmoxApiClient extends http.BaseClient {
     final path = '/api2/json/nodes/$targetNode/lxc/$guestId/status/current';
     final response = await _getWithValidation(path, null);
     var data = json.decode(response.body)['data'];
-    //TODO: remove when fixed in API
+    //TODO: remove when fixed in *all* API versions that are still supported
     if (data['cpus'] is String) {
       data['cpus'] = num.tryParse(data['cpus']);
     }