Skip to content

Commit

Permalink
remove omitEmpty from failover param
Browse files Browse the repository at this point in the history
  • Loading branch information
delldubey committed Jan 31, 2024
1 parent ec40aaf commit 33d7b71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package gopowerstore
import (
"context"
"fmt"

Check failure on line 21 in replication.go

View workflow job for this annotation

GitHub Actions / golangci-lint

File is not `gofumpt`-ed (gofumpt)

"github.com/dell/gopowerstore/api"
)

Expand Down
2 changes: 1 addition & 1 deletion replication_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ type ProtectionPolicyCreate struct {
// failover params create failover request
type FailoverParams struct {
// For DR failover.
IsPlanned bool `json:"is_planned,omitempty"`
IsPlanned bool `json:"is_planned"`
// Reverse replication direction
Reverse bool `json:"reverse,omitempty"`
// Force for DR
Expand Down

0 comments on commit 33d7b71

Please sign in to comment.