]>
git.proxmox.com Git - flutter/proxmox_dart_api_client.git/commitdiff
projects
/
flutter
/
proxmox_dart_api_client.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dd1e86
)
client: clarify comment
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Tue, 14 Dec 2021 20:05:31 +0000
(21:05 +0100)
committer
Thomas 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
patch
|
blob
|
blame
|
history
diff --git
a/lib/src/client.dart
b/lib/src/client.dart
index 55ee53eed4316013355f5a89aafc23b5011663d1..cde7b6d6a6229e7b574cddacbe1e5c4201156064 100644
(file)
--- a/
lib/src/client.dart
+++ b/
lib/src/client.dart
@@
-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']);
}