From 18ba7e30db0d8c10fa661224dad3d65e6c46abea Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Tue, 17 Apr 2018 11:06:53 -0700 Subject: 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 --- sms-service/src/sms/Gopkg.toml | 2 +- sms-service/src/sms/backend/backend.go | 1 + sms-service/src/sms/sms.go | 2 +- 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") -- cgit 1.2.3-korg