From 33d7b71455d730c14719bc0705f580e6169a7a3f Mon Sep 17 00:00:00 2001 From: Utkarsh Dubey Date: Wed, 31 Jan 2024 20:27:55 +0530 Subject: [PATCH] remove omitEmpty from failover param --- replication.go | 1 - replication_types.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/replication.go b/replication.go index 4f3e837..3b73af9 100644 --- a/replication.go +++ b/replication.go @@ -19,7 +19,6 @@ package gopowerstore import ( "context" "fmt" - "github.com/dell/gopowerstore/api" ) diff --git a/replication_types.go b/replication_types.go index b52f930..e623df1 100644 --- a/replication_types.go +++ b/replication_types.go @@ -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