summaryrefslogtreecommitdiff
path: root/dryad/conf/conf.go
diff options
context:
space:
mode:
authorMaciej Wereski <m.wereski@partner.samsung.com>2018-07-13 16:46:15 +0200
committerMaciej Wereski <m.wereski@partner.samsung.com>2018-09-05 14:24:58 +0200
commit7f48124ddcec310cc44488b20055fa41f04f2a1d (patch)
tree4027d83bd2ea88ff177f12450c8fc441b3219593 /dryad/conf/conf.go
parente50de051fc526e2d68698fd3abd39725a72bd7f8 (diff)
downloadboruta-7f48124ddcec310cc44488b20055fa41f04f2a1d.tar.gz
boruta-7f48124ddcec310cc44488b20055fa41f04f2a1d.tar.bz2
boruta-7f48124ddcec310cc44488b20055fa41f04f2a1d.zip
Get rid of dot imports of boruta package
Using dot imports should be avoided. Such imports were left only in some tests. Change-Id: I1d4db1e2b89e2fd8475c8c657ea72b70bba32c5b Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Diffstat (limited to 'dryad/conf/conf.go')
-rw-r--r--dryad/conf/conf.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/dryad/conf/conf.go b/dryad/conf/conf.go
index d8b37cd..3c32c1d 100644
--- a/dryad/conf/conf.go
+++ b/dryad/conf/conf.go
@@ -24,7 +24,7 @@ import (
"github.com/BurntSushi/toml"
- . "git.tizen.org/tools/boruta"
+ "git.tizen.org/tools/boruta"
)
// DefaultRPCPort is a port that should be used as default parameter
@@ -39,7 +39,7 @@ func NewConf() *General {
return &General{
Address: fmt.Sprintf(":%d", DefaultRPCPort),
SSHAdress: fmt.Sprintf(":%d", DefaultSSHPort),
- Caps: Capabilities(map[string]string{}),
+ Caps: boruta.Capabilities(map[string]string{}),
User: &User{
Name: "boruta-user",
Groups: []string{},
@@ -70,7 +70,7 @@ type General struct {
//
// TODO(amistewicz): This field should be removed when
// it will be possible to read it from hardware.
- Caps Capabilities `toml:"caps"`
+ Caps boruta.Capabilities `toml:"caps"`
// User refers information necessary to create the user.
User *User `toml:"user"`
// SDcard is a base path to block device of sdcard.