Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoradio
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
Operate
Environments
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
ale
autoradio
Commits
2b580be4
Commit
2b580be4
authored
9 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
golint fixes
parent
f67cdadd
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
etcd_client.go
+3
-1
3 additions, 1 deletion
etcd_client.go
with
3 additions
and
1 deletion
etcd_client.go
+
3
−
1
View file @
2b580be4
...
...
@@ -46,7 +46,9 @@ func resolveAll(input []string, proto string) []string {
}
// NewEtcdClient creates a new etcd client. It uses command-line flags
// to find servers and connection parameters.
// to find servers and connection parameters. If the 'strongReads'
// argument is true, read requests will also be sent to the etcd
// master and should be able to see the effect of previous writes.
func
NewEtcdClient
(
strongReads
bool
)
EtcdClient
{
proto
:=
"http"
if
*
etcdCertFile
!=
""
&&
*
etcdKeyFile
!=
""
{
...
...
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