summaryrefslogtreecommitdiffstats
path: root/sms-service/src
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-04-17 11:06:53 -0700
committerGirish Havaldar <hg0071052@techmahindra.com>2018-04-17 18:19:24 +0000
commit18ba7e30db0d8c10fa661224dad3d65e6c46abea (patch)
tree802de53145ac63ac6ef11743b0ec740dc50ecc4b /sms-service/src
parent228ce833f90aff40e4a0adfa843cdac7d45e2572 (diff)
Fixing CSIT test
CSIT test for sms broke because of quorum client code changes Issue-ID: AAF-251 Change-Id: I99d3d5fdcd800fbf1d4557488d03a65a0e891dfa Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'sms-service/src')
-rw-r--r--sms-service/src/sms/Gopkg.toml2
-rw-r--r--sms-service/src/sms/backend/backend.go1
-rw-r--r--sms-service/src/sms/sms.go2
3 files changed, 3 insertions, 2 deletions
diff --git a/sms-service/src/sms/Gopkg.toml b/sms-service/src/sms/Gopkg.toml
index cab4149..dd810d2 100644
--- a/sms-service/src/sms/Gopkg.toml
+++ b/sms-service/src/sms/Gopkg.toml
@@ -26,7 +26,7 @@
[[constraint]]
name = "github.com/hashicorp/vault"
- version = "0.9.5"
+ version = "0.10.0"
[[constraint]]
branch = "master"
diff --git a/sms-service/src/sms/backend/backend.go b/sms-service/src/sms/backend/backend.go
index 646de18..c137636 100644
--- a/sms-service/src/sms/backend/backend.go
+++ b/sms-service/src/sms/backend/backend.go
@@ -56,6 +56,7 @@ type SecretBackend interface {
func InitSecretBackend() (SecretBackend, error) {
backendImpl := &Vault{
vaultAddress: smsconfig.SMSConfig.BackendAddress,
+ vaultToken: smsconfig.SMSConfig.VaultToken,
}
err := backendImpl.Init()
diff --git a/sms-service/src/sms/sms.go b/sms-service/src/sms/sms.go
index 8b857ae..fea6b10 100644
--- a/sms-service/src/sms/sms.go
+++ b/sms-service/src/sms/sms.go
@@ -32,7 +32,7 @@ import (
func main() {
// Initialize logger
- smslogger.Init("")
+ smslogger.Init("sms.log")
// Read Configuration File
smsConf, err := smsconfig.ReadConfigFile("smsconfig.json")