Skip to content

Commit 7316942

Browse files
Fix Type; Adjust json tag
1 parent a7ec6e9 commit 7316942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/droplet_resource.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ type DropletBuildpack struct {
4444
}
4545

4646
// An object describing the lifecycle that was used when staging the droplet
47-
// possible values for type: "buildpack", "cnd", "docker"
47+
// possible values for type: "buildpack", "cnb", "docker"
4848
type DropletLifecycle struct {
49-
Type string `json:"name"`
49+
Type string `json:"type"`
5050
}
5151

5252
func (d Droplet) MarshallJSON() ([]byte, error) {

0 commit comments

Comments
 (0)