Fix various issues with formatting and typos (#424)

* Fix typos

* Simplify code

* Fix error usage
This commit is contained in:
Michael Grosser 2016-11-13 14:03:12 +00:00 committed by Miek Gieben
parent f402b8f726
commit ece3cf8ecf
13 changed files with 19 additions and 19 deletions

View file

@ -9,7 +9,7 @@ import (
// ServiceBackend defines a (dynamic) backend that returns a slice of service definitions.
type ServiceBackend interface {
// Services communicates with the backend to retrieve the service defintion. Exact indicates
// Services communicates with the backend to retrieve the service definition. Exact indicates
// on exact much are that we are allowed to recurs.
Services(state request.Request, exact bool, opt Options) ([]msg.Service, []msg.Service, error)