diff options
Diffstat (limited to 'rhimport/session_store.go')
-rw-r--r-- | rhimport/session_store.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rhimport/session_store.go b/rhimport/session_store.go index a511d52..4139f99 100644 --- a/rhimport/session_store.go +++ b/rhimport/session_store.go @@ -190,7 +190,7 @@ func (store *SessionStore) get(username, id string) (resp getSessionResponse) { user, exists := store.store[username] if !exists { resp.responsecode = http.StatusNotFound - resp.errorstring = fmt.Sprintf("SessionStore: session '%s/%s' not found", user, id) + resp.errorstring = fmt.Sprintf("SessionStore: session '%s/%s' not found", username, id) } if session, exists := user.sessions[id]; exists { @@ -198,7 +198,7 @@ func (store *SessionStore) get(username, id string) (resp getSessionResponse) { resp.refId = session.refId } else { resp.responsecode = http.StatusNotFound - resp.errorstring = fmt.Sprintf("SessionStore: session '%s/%s' not found", user, id) + resp.errorstring = fmt.Sprintf("SessionStore: session '%s/%s' not found", username, id) } return } @@ -241,7 +241,7 @@ func (store *SessionStore) remove(username, id string) (resp removeSessionRespon user, exists := store.store[username] if !exists { resp.responsecode = http.StatusNotFound - resp.errorstring = fmt.Sprintf("SessionStore: session '%s/%s' not found", user, id) + resp.errorstring = fmt.Sprintf("SessionStore: session '%s/%s' not found", username, id) } if session, exists := user.sessions[id]; exists { @@ -257,7 +257,7 @@ func (store *SessionStore) remove(username, id string) (resp removeSessionRespon } } else { resp.responsecode = http.StatusNotFound - resp.errorstring = fmt.Sprintf("SessionStore: session '%s/%s' not found", user, id) + resp.errorstring = fmt.Sprintf("SessionStore: session '%s/%s' not found", username, id) } return } |