Skip to content

Commit

Permalink
Merge pull request #2856 from weaveworks/mike/ecs/fix-test
Browse files Browse the repository at this point in the history
Fix test broken by #2854
  • Loading branch information
ekimekim authored Sep 19, 2017
2 parents b7db604 + 1c6fbff commit 2da9ec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions probe/awsecs/reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func getTestContainerNode() report.Node {

func TestGetLabelInfo(t *testing.T) {
hr := controls.NewDefaultHandlerRegistry()
r := awsecs.Make(1e6, time.Hour, hr, "test-probe-id")
r := awsecs.Make(1e6, time.Hour, "", hr, "test-probe-id")
rpt, err := r.Report()
if err != nil {
t.Fatalf("Error making report: %v", err)
Expand Down Expand Up @@ -92,7 +92,7 @@ func (c mockEcsClient) ScaleService(serviceName string, amount int) error {

func TestTagReport(t *testing.T) {
hr := controls.NewDefaultHandlerRegistry()
r := awsecs.Make(1e6, time.Hour, hr, "test-probe-id")
r := awsecs.Make(1e6, time.Hour, "", hr, "test-probe-id")

r.ClientsByCluster[testCluster] = newMockEcsClient(
t,
Expand Down

0 comments on commit 2da9ec0

Please sign in to comment.