Skip to content

Commit dfa361d

Browse files
committed
Fix json tag typo in custom queries API
1 parent 4ebde14 commit dfa361d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/crd/bases/postgres-operator.crunchydata.com_pgadmins.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ spec:
20982098
- queries
20992099
type: object
21002100
type: array
2101-
remote:
2101+
remove:
21022102
description: |-
21032103
A list of built-in queries that should be removed. If all queries for a
21042104
given SQL statement are removed, the SQL statement will no longer be run.

config/crd/bases/postgres-operator.crunchydata.com_postgresclusters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11754,7 +11754,7 @@ spec:
1175411754
- queries
1175511755
type: object
1175611756
type: array
11757-
remote:
11757+
remove:
1175811758
description: |-
1175911759
A list of built-in queries that should be removed. If all queries for a
1176011760
given SQL statement are removed, the SQL statement will no longer be run.

pkg/apis/postgres-operator.crunchydata.com/v1beta1/instrumentation_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ type InstrumentationCustomQueriesSpec struct {
111111
// given SQL statement are removed, the SQL statement will no longer be run.
112112
//
113113
// +optional
114-
Remove []string `json:"remote,omitempty"`
114+
Remove []string `json:"remove,omitempty"`
115115
}
116116

117117
type InstrumentationCustomQueries struct {

0 commit comments

Comments
 (0)