Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcs
dfss
Commits
5585cc88
Commit
5585cc88
authored
May 26, 2016
by
Richer Maximilien
Browse files
[fmt] Check dfss/...
parent
dcf7cf25
Pipeline
#2285
passed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dfssc/cmd/root.go
View file @
5585cc88
...
...
@@ -5,8 +5,8 @@ import (
"time"
"dfss"
"dfss/net"
dapi
"dfss/dfssd/api"
"dfss/net"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
...
...
tests/starters_test.go
View file @
5585cc88
...
...
@@ -107,7 +107,7 @@ func createClient(tmpDir string, ca []byte, port int) (*exec.Cmd, error) {
// Prepare the client command.
// The last argument is up to you!
cmd
:=
exec
.
Command
(
path
,
"--ca"
,
caPath
,
"--cert"
,
certPath
,
"--host"
,
"127.0.0.1:"
+
testPort
,
"--key"
,
keyPath
,
"--port"
,
strconv
.
Itoa
(
port
),
"--timeout"
,
"3s"
,
"-v"
,
"-d"
,
"localhost:9099"
)
cmd
:=
exec
.
Command
(
path
,
"--ca"
,
caPath
,
"--cert"
,
certPath
,
"--host"
,
"127.0.0.1:"
+
testPort
,
"--key"
,
keyPath
,
"--port"
,
strconv
.
Itoa
(
port
),
"--timeout"
,
"3s"
,
"-v"
,
"-d"
,
"localhost:9099"
)
return
cmd
,
nil
}
...
...
Write
Preview
Markdown
is supported
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