diff --git a/watchtower/wtwire/delete_session_reply.go b/watchtower/wtwire/delete_session_reply.go index 059d189e..e25664a5 100644 --- a/watchtower/wtwire/delete_session_reply.go +++ b/watchtower/wtwire/delete_session_reply.go @@ -12,8 +12,6 @@ const ( // client side, or that the tower had already deleted the session in a // prior request that the client may not have received. DeleteSessionCodeNotFound DeleteSessionCode = 80 - - // TODO(conner): add String method after wtclient is merged ) // DeleteSessionReply is a message sent in response to a client's DeleteSession diff --git a/watchtower/wtwire/error_code.go b/watchtower/wtwire/error_code.go index 2f4bc6bb..c614f2a6 100644 --- a/watchtower/wtwire/error_code.go +++ b/watchtower/wtwire/error_code.go @@ -46,6 +46,8 @@ func (c ErrorCode) String() string { return "StateUpdateCodeMaxUpdatesExceeded" case StateUpdateCodeSeqNumOutOfOrder: return "StateUpdateCodeSeqNumOutOfOrder" + case DeleteSessionCodeNotFound: + return "DeleteSessionCodeNotFound" default: return fmt.Sprintf("UnknownErrorCode: %d", c) }