File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 715715 config = mkIf cfg . enable ( let
716716 stateDirBase = "/var/lib/" ;
717717 runDirBase = "/run/" ;
718- lmdbPaths = filter ( x : x != null ) ( map ( e : lmdbDatabasePath e ) cfg . instances ) ;
719718 genInstanceConf = f : listToAttrs ( if cfg . instances > 1
720719 then genList ( i : let n = "cardano-node-${ toString i } " ; in nameValuePair n ( f n i ) ) cfg . instances
721720 else [ ( nameValuePair "cardano-node" ( f "cardano-node" 0 ) ) ] ) ; in lib . mkMerge [
@@ -817,10 +816,6 @@ in {
817816 assertion = ! ( cfg . systemdSocketActivation && cfg . useNewTopology ) ;
818817 message = "Systemd socket activation cannot be used with p2p topology due to a systemd socket re-use issue." ;
819818 }
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- }
824819 ] ;
825820 }
826821 ] ) ;
You can’t perform that action at this time.
0 commit comments