From 7ec6a311f81289dac6305d5c91be37a97b2499a5 Mon Sep 17 00:00:00 2001 From: Ken Cochrane Date: Thu, 14 Mar 2013 20:23:45 -0700 Subject: [PATCH] Removed the extra newline char from the messages --- auth/auth.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/auth/auth.go b/auth/auth.go index 954a7b262e..4224a686d5 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -121,15 +121,15 @@ func Login(authConfig AuthConfig) (string, error) { status = "Login Succeeded\n" storeConfig = true } else { - status = fmt.Sprintf("Login: %s\n", body) + status = fmt.Sprintf("Login: %s", body) return "", errors.New(status) } } else { - status = fmt.Sprintf("Registration: %s\n", string(reqBody)) + status = fmt.Sprintf("Registration: %s", string(reqBody)) return "", errors.New(status) } } else { - status = fmt.Sprintf("[%s] : %s \n", reqStatusCode, string(reqBody)) + status = fmt.Sprintf("[%s] : %s", reqStatusCode, string(reqBody)) return "", errors.New(status) } if storeConfig {