blob: 96a6a50b3d69a3c59f3481ecb987fa9605b95c1d [file] [log] [blame]
Joe Topjian0f64da02017-03-09 18:59:53 -07001package availabilityzones
2
3// ServerExt is an extension to the base Server object
4type 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
10func (r *ServerExt) UnmarshalJSON(b []byte) error {
11 return nil
12}