File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 8
8
out::message(
9
9
format::table({
10
10
title => ' Summary' ,
11
- rows => $data [' environments' ].reduce([
12
- [" Overall sync status" , $data [' sync' ]]]) |$memo , $val | {
13
- $memo << [" ${val[0]} environment in sync" , $val [1][' sync' ]] }}))
11
+ rows => $data [' environments' ].reduce([[' Overall sync status' , $data [' sync' ]]]) |$memo , $val | {
12
+ $memo << [" ${val[0]} environment in sync" , $val [1][' sync' ]] }}))
14
13
15
14
# Print a server status table, one for each environment
16
15
$data [' environments' ].each |$env , $_| {
19
18
title => " Server sync status - ${env} " ,
20
19
head => [' Server' , ' In Sync' , ' Commit' ],
21
20
rows => $data [' environments' ][$env ][' servers' ].reduce([]) |$memo , $val | {
22
- $memo << [$val [0], $val [1][' sync' ], $val [1][' commit' ]] }}))
21
+ $memo << [$val [0], $val [1][' sync' ], $val [1][' commit' ]] }}))
23
22
}
24
23
25
24
return(' Done' )
You can’t perform that action at this time.
0 commit comments