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
mpcs
dfss
Commits
ce07067e
Commit
ce07067e
authored
Apr 25, 2016
by
Loïck Bonniot
Browse files
[gui] Fix nil client local port
parent
ffa43a31
Pipeline
#954
failed with stage
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dfssc/sign/create.go
View file @
ce07067e
...
...
@@ -5,13 +5,11 @@ import (
"io/ioutil"
"path/filepath"
"github.com/spf13/viper"
"dfss/dfssc/common"
"dfss/dfssc/security"
"dfss/dfssp/api"
"dfss/net"
"github.com/spf13/viper"
"golang.org/x/net/context"
)
...
...
dfssc/sign/fetch.go
View file @
ce07067e
...
...
@@ -3,13 +3,11 @@ package sign
import
(
"io/ioutil"
"github.com/spf13/viper"
"dfss/dfssc/common"
"dfss/dfssc/security"
"dfss/dfssp/api"
"dfss/net"
"github.com/spf13/viper"
"golang.org/x/net/context"
)
...
...
dfssc/sign/promises.go
View file @
ce07067e
...
...
@@ -7,7 +7,6 @@ import (
cAPI
"dfss/dfssc/api"
dAPI
"dfss/dfssd/api"
pAPI
"dfss/dfssp/api"
"golang.org/x/net/context"
)
...
...
dfssc/sign/starter.go
View file @
ce07067e
...
...
@@ -8,8 +8,6 @@ import (
"sync"
"time"
"github.com/spf13/viper"
"dfss"
cAPI
"dfss/dfssc/api"
"dfss/dfssc/common"
...
...
@@ -18,7 +16,7 @@ import (
pAPI
"dfss/dfssp/api"
"dfss/dfssp/contract"
"dfss/net"
"github.com/spf13/viper"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
...
...
dfssc/sign/starter_test.go
View file @
ce07067e
...
...
@@ -4,7 +4,6 @@ import (
"testing"
"dfss/dfssp/contract"
"github.com/stretchr/testify/assert"
)
...
...
gui/config/config.go
View file @
ce07067e
...
...
@@ -40,6 +40,7 @@ func Load() {
// Fill virtual-only fields
viper
.
Set
(
"registered"
,
isFileValid
(
viper
.
GetString
(
"file_key"
)))
viper
.
Set
(
"authenticated"
,
isFileValid
(
viper
.
GetString
(
"file_cert"
)))
viper
.
Set
(
"local_port"
,
9005
)
return
}
...
...
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