File tree 1 file changed +0
-5
lines changed
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 715
715
config = mkIf cfg . enable ( let
716
716
stateDirBase = "/var/lib/" ;
717
717
runDirBase = "/run/" ;
718
- lmdbPaths = filter ( x : x != null ) ( map ( e : lmdbDatabasePath e ) cfg . instances ) ;
719
718
genInstanceConf = f : listToAttrs ( if cfg . instances > 1
720
719
then genList ( i : let n = "cardano-node-${ toString i } " ; in nameValuePair n ( f n i ) ) cfg . instances
721
720
else [ ( nameValuePair "cardano-node" ( f "cardano-node" 0 ) ) ] ) ; in lib . mkMerge [
@@ -817,10 +816,6 @@ in {
817
816
assertion = ! ( cfg . systemdSocketActivation && cfg . useNewTopology ) ;
818
817
message = "Systemd socket activation cannot be used with p2p topology due to a systemd socket re-use issue." ;
819
818
}
820
- {
821
- assertion = ( length lmdPaths ) == ( length ( lib . lists . unique lmdbPaths ) ) ;
822
- message = "When configuring multiple LMDB enabled nodes on one instance, lmdbDatabasePath must be unique." ;
823
- }
824
819
] ;
825
820
}
826
821
] ) ;
You can’t perform that action at this time.
0 commit comments