Skip to content

Commit

Permalink
maintenance(logging): reduce pact discovery log noise
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Jul 14, 2018
1 parent c2dcd78 commit 8c8f921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dsl/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,14 @@ func findConsumers(provider string, request *types.VerifyRequest) error {
for _, p := range doc.Links.OldPacts {
pactURLs[p.Href] = p.Href
}

fmt.Println("[DEBUG] pacts to verify: ", pactURLs)
}

// Scrub out duplicate pacts across tags (e.g. 'latest' may equal 'prod' pact)
for _, p := range pactURLs {
request.PactURLs = append(request.PactURLs, p)
}

fmt.Println("[DEBUG] discovered pacts to verify: ", request.PactURLs)

return nil
}

0 comments on commit 8c8f921

Please sign in to comment.