Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bruce Flynn
chart-server
Commits
ad0651e9
Commit
ad0651e9
authored
Oct 03, 2018
by
Bruce Flynn
Browse files
clarify URL help
parent
7644c33b
Pipeline
#4052
passed with stage
in 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
main.go
View file @
ad0651e9
...
...
@@ -152,7 +152,7 @@ Options can also be specified as environment variables $CHART_SVR_<name>
}
pflag
.
StringVar
(
&
dir
,
"dir"
,
getEnvDefault
(
"CHART_SVR_DIR"
,
"."
),
"Chart report dir"
)
pflag
.
StringVar
(
&
host
,
"host"
,
getEnvDefault
(
"CHART_SVR_HOST"
,
":8080"
),
"Host to bind to [<host>]:<port>"
)
pflag
.
StringVar
(
&
url
,
"url"
,
getEnvDefault
(
"CHART_SVR_URL"
,
""
),
"URL to the chart repository"
)
pflag
.
StringVar
(
&
url
,
"url"
,
getEnvDefault
(
"CHART_SVR_URL"
,
""
),
"
Externally accessible
URL to the chart repository"
)
pflag
.
Parse
()
if
len
(
url
)
==
0
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment