Skip to content
This repository was archived by the owner on Jan 18, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion registry/mock/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ func (m *Mock) Services(options *registry.QueryOptions) (map[string][]string, er
// Service lists the nodes in a given service
func (m *Mock) Service(service, tag string, options *registry.QueryOptions) ([]*registry.CatalogService, error) {
var c []*registry.CatalogService

if service == "service_error_injection" {
return nil, errors.New("Service Error Injection")
}
for r := range m.GetCatalog() {
containsTag := false

Expand Down