File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 56
56
selectTopology = i :
57
57
if cfg . topology != null
58
58
then cfg . topology
59
- else toFile "topology.yaml " ( toJSON ( if ( cfg . useNewTopology ) then assertNewTopology i else oldTopology i ) ) ;
59
+ else toFile "topology.json " ( toJSON ( if ( cfg . useNewTopology ) then assertNewTopology i else oldTopology i ) ) ;
60
60
61
61
topology = i :
62
62
if cfg . useSystemdReload
63
- then "/etc/cardano-node/topology-${ toString i } .yaml "
63
+ then "/etc/cardano-node/topology-${ toString i } .json "
64
64
else selectTopology i ;
65
65
66
66
mkScript = cfg :
616
616
if only the topology file has changed and p2p is in use.
617
617
618
618
Cardano-node topology files will be stored in /etc as:
619
- /etc/cardano-node/topology-'' ${toString i}.yaml
619
+ /etc/cardano-node/topology-'' ${toString i}.json
620
620
621
621
Enabling this option will also allow direct topology edits for tests when a full
622
622
service re-deployment is not desired.
781
781
} ;
782
782
783
783
environment . etc = mkIf cfg . useSystemdReload ( foldl'
784
- ( acc : i : recursiveUpdate acc { "cardano-node/topology-${ toString i } .yaml " . source = selectTopology i ; } ) { }
784
+ ( acc : i : recursiveUpdate acc { "cardano-node/topology-${ toString i } .json " . source = selectTopology i ; } ) { }
785
785
( range 0 ( cfg . instances - 1 ) ) ) ;
786
786
787
787
## TODO: use http://hackage.haskell.org/package/systemd for:
You can’t perform that action at this time.
0 commit comments