Skip to content

Commit becb9c1

Browse files
committed
add the maintain privilege again to the Javadoc
1 parent de4bab9 commit becb9c1

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

operator/src/main/java/it/aboutbits/postgresql/crd/defaultprivilege/DefaultPrivilegeSpec.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public class DefaultPrivilegeSpec {
102102
/// - `trigger`
103103
/// - `create`
104104
/// - `usage`
105+
/// - `maintain`
105106
@Required
106107
@JsonFormat(with = JsonFormat.Feature.ACCEPT_CASE_INSENSITIVE_VALUES)
107108
@ValidationRule(

operator/src/main/java/it/aboutbits/postgresql/crd/grant/GrantSpec.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ public class GrantSpec {
105105
/// - `connect`
106106
/// - `temporary`
107107
/// - `usage`
108+
/// - `maintain`
108109
@Required
109110
@JsonFormat(with = JsonFormat.Feature.ACCEPT_CASE_INSENSITIVE_VALUES)
110111
@ValidationRule(

operator/src/test/java/it/aboutbits/postgresql/crd/defaultprivilege/DefaultPrivilegeReconcilerTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ void errorWhenInvalidPrivileges() {
335335
disabledReason = "PostgreSQL 15 and 16 do not support the MAINTAIN privilege"
336336
)
337337
@DisplayName(
338-
"Should reconcile to ERROR when the PostgreSQL version does not support the MAINTAIN table privilege")
338+
"Should reconcile to ERROR when the PostgreSQL version does not support the MAINTAIN table privilege"
339+
)
339340
void errorWhenUnsupportedMaintainTablePrivilege() {
340341
// given
341342
var clusterConnectionMain = given.one()

operator/src/test/java/it/aboutbits/postgresql/crd/grant/GrantReconcilerTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ void errorWhenInvalidPrivileges() {
331331
disabledReason = "PostgreSQL 15 and 16 do not support the MAINTAIN privilege"
332332
)
333333
@DisplayName(
334-
"Should reconcile to ERROR when the PostgreSQL version does not support the MAINTAIN table privilege")
334+
"Should reconcile to ERROR when the PostgreSQL version does not support the MAINTAIN table privilege"
335+
)
335336
void errorWhenUnsupportedMaintainTablePrivilege() {
336337
// given
337338
var clusterConnectionMain = given.one()

0 commit comments

Comments
 (0)