mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[glesys|compute] update server/status format to include cpu hash and warnings
This commit is contained in:
parent
835255df96
commit
ec9fd44f9b
1 changed files with 7 additions and 2 deletions
|
@ -113,11 +113,16 @@ class Glesys
|
|||
'max' => Fog::Nullable::Integer,
|
||||
'unit' => Fog::Nullable::String
|
||||
},
|
||||
'cpu' => [],
|
||||
'cpu' => {
|
||||
'usage' => Fog::Nullable::Integer,
|
||||
'max' => Fog::Nullable::Integer,
|
||||
'unit' => Fog::Nullable::String
|
||||
},
|
||||
'uptime' => {
|
||||
'current' => Fog::Nullable::Integer,
|
||||
'unit' => String
|
||||
}
|
||||
},
|
||||
'warnings' => []
|
||||
},
|
||||
'status' => {
|
||||
'timestamp' => String,
|
||||
|
|
Loading…
Add table
Reference in a new issue