From 6ba23c4e3de16181857d5703198d2e817928f1ba Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Wed, 29 Jan 2020 12:46:23 -0600 Subject: fixes after review --- test/integration/sipcli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/integration/sipcli/main.go b/test/integration/sipcli/main.go index 163d21d..e211169 100644 --- a/test/integration/sipcli/main.go +++ b/test/integration/sipcli/main.go @@ -15,7 +15,7 @@ const authURI string = "http://%s:%s/3/auth" const certURI string = "http://%s:%s/3/cert" func formatCredentials(user, pass string) (string, error) { - c := sip2.Credentials{user, pass} + c := sip2.Credentials{User: user, Password: pass} credJson, err := json.Marshal(c) if err != nil { return "", err -- cgit v1.2.3