Skip to content

Commit

Permalink
reserved IPs: project_id should have omitempty in create req. (#554)
Browse files Browse the repository at this point in the history
* reserved IPs: project_id should have omitempty in create req.

* Prep v1.84.1 release.
  • Loading branch information
andrewsomething authored Sep 16, 2022
1 parent 6fa79d0 commit 8f445aa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log

## [v1.84.0] - 2022-08-16
## [v1.84.1] - 2022-09-16

- #554 - @andrewsomething - reserved IPs: project_id should have omitempty in create req.

## [v1.84.0] - 2022-09-16

- #552 - @andrewsomething - reserved IPs: Expose project_id and locked attributes.
- #549 - @rpmoore - adding the replica id to the database replica model
Expand Down
2 changes: 1 addition & 1 deletion floating_ips.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type floatingIPRoot struct {
type FloatingIPCreateRequest struct {
Region string `json:"region,omitempty"`
DropletID int `json:"droplet_id,omitempty"`
ProjectID string `json:"project_id"`
ProjectID string `json:"project_id,omitempty"`
}

// List all floating IPs.
Expand Down
2 changes: 1 addition & 1 deletion godo.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
)

const (
libraryVersion = "1.84.0"
libraryVersion = "1.84.1"
defaultBaseURL = "https://api.digitalocean.com/"
userAgent = "godo/" + libraryVersion
mediaType = "application/json"
Expand Down
2 changes: 1 addition & 1 deletion reserved_ips.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type reservedIPRoot struct {
type ReservedIPCreateRequest struct {
Region string `json:"region,omitempty"`
DropletID int `json:"droplet_id,omitempty"`
ProjectID string `json:"project_id"`
ProjectID string `json:"project_id,omitempty"`
}

// List all reserved IPs.
Expand Down

0 comments on commit 8f445aa

Please sign in to comment.