diff options
Diffstat (limited to 'sms-service')
-rw-r--r-- | sms-service/src/sms/Gopkg.toml | 2 | ||||
-rw-r--r-- | sms-service/src/sms/backend/backend.go | 1 | ||||
-rw-r--r-- | 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") |