Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
flux2
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
fluxcd
flux2
Commits
31771f35
Unverified
Commit
31771f35
authored
3 years ago
by
Max Jonas Werner
Browse files
Options
Downloads
Patches
Plain Diff
fix: improve wording
Signed-off-by:
Max Jonas Werner
<
mail@makk.es
>
parent
ffcd7d80
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmd/flux/bootstrap_github.go
+1
-1
1 addition, 1 deletion
cmd/flux/bootstrap_github.go
cmd/flux/bootstrap_gitlab.go
+1
-1
1 addition, 1 deletion
cmd/flux/bootstrap_gitlab.go
with
2 additions
and
2 deletions
cmd/flux/bootstrap_github.go
+
1
−
1
View file @
31771f35
...
...
@@ -112,7 +112,7 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error {
ghToken
:=
os
.
Getenv
(
ghTokenEnvVar
)
if
ghToken
==
""
{
var
err
error
ghToken
,
err
=
readPasswordFromStdin
(
"Please
type
your GitHub personal access token: "
)
ghToken
,
err
=
readPasswordFromStdin
(
"Please
enter
your GitHub personal access token
(PAT)
: "
)
if
err
!=
nil
{
return
fmt
.
Errorf
(
"could not read token: %w"
,
err
)
}
...
...
This diff is collapsed.
Click to expand it.
cmd/flux/bootstrap_gitlab.go
+
1
−
1
View file @
31771f35
...
...
@@ -109,7 +109,7 @@ func bootstrapGitLabCmdRun(cmd *cobra.Command, args []string) error {
glToken
:=
os
.
Getenv
(
glTokenEnvVar
)
if
glToken
==
""
{
var
err
error
glToken
,
err
=
readPasswordFromStdin
(
"Please
type
your GitLab personal access token: "
)
glToken
,
err
=
readPasswordFromStdin
(
"Please
enter
your GitLab personal access token
(PAT)
: "
)
if
err
!=
nil
{
return
fmt
.
Errorf
(
"could not read token: %w"
,
err
)
}
...
...
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