Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Vladimir KozLove
bitmask-vpn
Commits
11094e0f
Verified
Commit
11094e0f
authored
6 years ago
by
meskio
Browse files
Options
Downloads
Patches
Plain Diff
[bug] fmt int is %d instead of %i
parent
4b7cbc11
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bitmask/main.go
+2
-2
2 additions, 2 deletions
bitmask/main.go
with
2 additions
and
2 deletions
bitmask/main.go
+
2
−
2
View file @
11094e0f
...
...
@@ -91,7 +91,7 @@ func waitForBitmaskd() error {
resp
.
Body
.
Close
()
return
nil
}
log
.
Printf
(
"Bitmask is not ready (iteration %
i
): %v"
,
i
,
err
)
log
.
Printf
(
"Bitmask is not ready (iteration %
d
): %v"
,
i
,
err
)
time
.
Sleep
(
1
*
time
.
Second
)
}
return
err
...
...
@@ -154,7 +154,7 @@ func getToken() (string, error) {
if
err
==
nil
{
return
string
(
b
),
nil
}
log
.
Printf
(
"Auth token is not ready (iteration %
i
): %v"
,
i
,
err
)
log
.
Printf
(
"Auth token is not ready (iteration %
d
): %v"
,
i
,
err
)
time
.
Sleep
(
1
*
time
.
Second
)
}
return
""
,
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