From fad8a22f43195e62c6d525a3df61fcdcdddbbe6c Mon Sep 17 00:00:00 2001 From: danaelhe Date: Mon, 27 Jan 2025 17:09:12 -0500 Subject: [PATCH] add omitempty --- databases.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/databases.go b/databases.go index a0e4f08..ed4b4f8 100644 --- a/databases.go +++ b/databases.go @@ -530,8 +530,8 @@ type DatabaseFirewallRule struct { // DatabaseStartOnlineMigrationRequest is used to start an online migration for a database cluster type DatabaseStartOnlineMigrationRequest struct { Source *DatabaseOnlineMigrationConfig `json:"source"` - DisableSSL bool `json:"disable_ssl"` - IgnoreDBs []string `json:"ignore_dbs"` + DisableSSL bool `json:"disable_ssl,omitempty"` + IgnoreDBs []string `json:"ignore_dbs,omitempty"` } // DatabaseCreateLogsinkRequest is used to create logsink for a database cluster