Permalink
Browse files

Fix API info reporting in "lxc info"

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information...
1 parent 9ed2bf8 commit 0d172e3080f768fd419f0c97f5246983797db243 @stgraber stgraber committed Aug 12, 2016
Showing with 7 additions and 5 deletions.
  1. +7 −5 shared/server.go
View
@@ -18,11 +18,13 @@ type ServerStateEnvironment struct {
}
type ServerState struct {
- APICompat int `json:"api_compat"`
- Auth string `json:"auth"`
- Environment ServerStateEnvironment `json:"environment"`
- Config map[string]interface{} `json:"config"`
- Public bool `json:"public"`
+ APIExtensions []string `json:"api_extensions"`
+ APIStatus string `json:"api_status"`
+ APIVersion string `json:"api_version"`
+ Auth string `json:"auth"`
+ Environment ServerStateEnvironment `json:"environment"`
+ Config map[string]interface{} `json:"config"`
+ Public bool `json:"public"`
}
type BriefServerState struct {

0 comments on commit 0d172e3

Please sign in to comment.