Joe Topjian | 0f64da0 | 2017-03-09 18:59:53 -0700 | [diff] [blame] | 1 | package availabilityzones |
2 | |||||
3 | // ServerExt is an extension to the base Server object | ||||
4 | type ServerExt struct { | ||||
5 | // AvailabilityZone is the availabilty zone the server is in. | ||||
6 | AvailabilityZone string `json:"OS-EXT-AZ:availability_zone"` | ||||
7 | } | ||||
8 | |||||
9 | // UnmarshalJSON to override default | ||||
10 | func (r *ServerExt) UnmarshalJSON(b []byte) error { | ||||
11 | return nil | ||||
12 | } |