Skip to content

Commit

Permalink
Fix archiver restore: allow empty 'databases' field in AvailabilityGr…
Browse files Browse the repository at this point in the history
…oup spec

Signed-off-by: Neaj Morshad <[email protected]>
  • Loading branch information
Neaj-Morshad-101 committed Dec 23, 2024
1 parent 34e3d3f commit 6635bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/kubedb/v1alpha2/mssqlserver_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ type MSSQLServerTopology struct {
type MSSQLServerAvailabilityGroupSpec struct {
// AvailabilityDatabases is an array of databases to be included in the availability group
// +optional
Databases []string `json:"databases"`
Databases []string `json:"databases,omitempty"`

// Leader election configuration
// +optional
Expand Down

0 comments on commit 6635bd2

Please sign in to comment.