mirror of
https://github.com/zrepl/zrepl.git
synced 2025-08-09 23:17:35 +02:00
fix unreachable code & missing stringer-generated code
This commit is contained in:
@ -160,7 +160,6 @@ func (s *Server) ServeRequest() (err error) {
|
||||
r := NewErrorHeader(StatusRequestError, "unregistered control endpoint %s", h.Endpoint)
|
||||
return s.writeResponse(r)
|
||||
}
|
||||
panic("implementation error")
|
||||
}
|
||||
|
||||
ep, ok := s.endpoints[h.Endpoint]
|
||||
|
Reference in New Issue
Block a user