Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
3122beac
Commit
3122beac
authored
4 years ago
by
Björn Vonheiden
Committed by
Sören Henning
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
enable more safer passing of env variable domain restriction
parent
1bfd9fb1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
execution/lib/cli_parser.py
+2
-2
2 additions, 2 deletions
execution/lib/cli_parser.py
with
2 additions
and
2 deletions
execution/lib/cli_parser.py
+
2
−
2
View file @
3122beac
...
@@ -125,8 +125,8 @@ def benchmark_parser(description):
...
@@ -125,8 +125,8 @@ def benchmark_parser(description):
help
=
'
[mandatory] List of instances used in benchmarks
'
)
help
=
'
[mandatory] List of instances used in benchmarks
'
)
parser
.
add_argument
(
'
--domain-restriction
'
,
parser
.
add_argument
(
'
--domain-restriction
'
,
action
=
"
store_true
"
,
action
=
"
store_true
"
,
default
=
eval
(
default
=
os
.
environ
.
get
(
os
.
environ
.
get
(
'
DOMAIN_RESTRICTION
'
,
'
F
alse
'
).
capitalize
())
,
'
DOMAIN_RESTRICTION
'
,
'
f
alse
'
).
lower
()
==
'
true
'
,
help
=
'
To use domain restriction. For details see README
'
)
help
=
'
To use domain restriction. For details see README
'
)
parser
.
add_argument
(
'
--search-strategy
'
,
parser
.
add_argument
(
'
--search-strategy
'
,
metavar
=
'
<strategy>
'
,
metavar
=
'
<strategy>
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment