File tree Expand file tree Collapse file tree
operator/src/test/java/it/aboutbits/postgresql/crd/grant Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212import it .aboutbits .postgresql .core .Privilege ;
1313import it .aboutbits .postgresql .crd .clusterconnection .ClusterConnection ;
1414import it .aboutbits .postgresql .crd .database .Database ;
15- import it .aboutbits .postgresql .crd .defaultprivilege .DefaultPrivilegeObjectType ;
1615import it .aboutbits .postgresql .crd .role .Role ;
1716import it .aboutbits .postgresql .crd .schema .Schema ;
1817import lombok .RequiredArgsConstructor ;
@@ -900,7 +899,7 @@ static Stream<List<Privilege>> provideAllSupportedPrivileges() {
900899 var matcher = Pattern .compile ("test-pg(\\ d+)" ).matcher (profile );
901900 int version = matcher .find () ? Integer .parseInt (matcher .group (1 )) : 0 ;
902901
903- return Stream .of (DefaultPrivilegeObjectType . TABLE .privilegesSet ().stream ()
902+ return Stream .of (TABLE .privilegesSet ().stream ()
904903 .filter (privilege -> privilege .minimumPostgresVersion () == null
905904 || privilege .minimumPostgresVersion () <= version
906905 )
You can’t perform that action at this time.
0 commit comments