summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dryad/conf/conf.go2
-rw-r--r--dryad/conf/conf_test.go1
2 files changed, 3 insertions, 0 deletions
diff --git a/dryad/conf/conf.go b/dryad/conf/conf.go
index f2bf265..c12a226 100644
--- a/dryad/conf/conf.go
+++ b/dryad/conf/conf.go
@@ -54,6 +54,8 @@ type User struct {
type General struct {
// Address is used to listen for connection from Boruta.
Address string `toml:"listen_address"`
+ // BorutaAddress is used to connect to Boruta server.
+ BorutaAddress string `toml:"boruta_address"`
// User refers information necessary to create the user.
User *User `toml:"user"`
// SDcard is a base path to block device of sdcard.
diff --git a/dryad/conf/conf_test.go b/dryad/conf/conf_test.go
index 9a2d369..c0b2142 100644
--- a/dryad/conf/conf_test.go
+++ b/dryad/conf/conf_test.go
@@ -28,6 +28,7 @@ import (
var _ = Describe("Conf", func() {
marshaled := `listen_address = ":7175"
+boruta_address = ""
sdcard = "/dev/sdX"
[user]