Skip to content

Commit 3b91854

Browse files
authored
Merge pull request #25 from mwengren/docker_fix
Add support to configure 'verbose' param in Docker
2 parents 1759aad + 43971db commit 3b91854

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

contrib/config/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"text/csv",
77
"text/xml;schema=\"ioos/0.6.1\""
88
],
9+
"verbose": false,
910
"schedule": "0 * * * *"
1011
},
1112
{
@@ -15,7 +16,7 @@
1516
"text/csv",
1617
"text/xml;subtype=\"om/1.0.0/profiles/ioos_sos/1.0\""
1718
],
19+
"verbose": false,
1820
"schedule": "0 * * * *"
1921
}
2022
]
21-

contrib/init/51_config

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ def generate_args(config_entry):
3939
args.append('--sos_type')
4040
args.append(config_entry['sos_type'])
4141

42-
args.append('--verbose')
42+
if config_entry.get('verbose') == True:
43+
args.append('--verbose')
44+
4345
return ' '.join(args)
4446

4547

@@ -73,4 +75,3 @@ def main():
7375

7476
if __name__ == '__main__':
7577
sys.exit(main())
76-

0 commit comments

Comments
 (0)