Merge pull request #110 from secant/volume-fix

Fix droplet JSON to support VolumeIDs
This commit is contained in:
Antoine Grondin 2016-11-16 01:58:50 -05:00 committed by GitHub
commit c3a2aad75d
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ type Droplet struct {
Networks *Networks `json:"networks,omitempty"`
Created string `json:"created_at,omitempty"`
Kernel *Kernel `json:"kernel,omitempty"`
Tags []string `json:"tags,ommitempty"`
VolumeIDs []string `json:"volumes"`
Tags []string `json:"tags,omitempty"`
VolumeIDs []string `json:"volume_ids"`
}
// PublicIPv4 returns the public IPv4 address for the Droplet.