summaryrefslogtreecommitdiffstats
path: root/sms-service
diff options
context:
space:
mode:
Diffstat (limited to 'sms-service')
-rw-r--r--sms-service/src/sms/config/config.go3
-rw-r--r--sms-service/src/sms/smsconfig.json2
2 files changed, 3 insertions, 2 deletions
diff --git a/sms-service/src/sms/config/config.go b/sms-service/src/sms/config/config.go
index b7f97d2..15f3660 100644
--- a/sms-service/src/sms/config/config.go
+++ b/sms-service/src/sms/config/config.go
@@ -44,8 +44,9 @@ func ReadConfigFile(file string) (*SMSConfiguration, error) {
return nil, err
}
+ SMSConfig = &SMSConfiguration{}
decoder := json.NewDecoder(f)
- err = decoder.Decode(&SMSConfig)
+ err = decoder.Decode(SMSConfig)
if err != nil {
return nil, err
}
diff --git a/sms-service/src/sms/smsconfig.json b/sms-service/src/sms/smsconfig.json
index b683bf8..e8e8245 100644
--- a/sms-service/src/sms/smsconfig.json
+++ b/sms-service/src/sms/smsconfig.json
@@ -1,6 +1,6 @@
{
"cafile": "auth/selfsignedca.pem",
- "servercert": "auth/server_cat.cert",
+ "servercert": "auth/server.cert",
"serverkey": "auth/server.key",
"vaultaddress": "http://localhost:8200",