Fix broken test

This commit is contained in:
vishalnayak 2016-07-22 06:42:56 -04:00
parent 765d131b47
commit 248889dd1b
1 changed files with 3 additions and 1 deletions

View File

@ -196,8 +196,10 @@ func TestConsul_serviceTags(t *testing.T) {
},
}
c := testConsulBackendConfig(t, &consulConf{})
for _, test := range tests {
tags := serviceTags(test.active)
tags := c.fetchServiceTags(test.active)
if !reflect.DeepEqual(tags[:], test.tags[:]) {
t.Errorf("Bad %v: %v %v", test.active, tags, test.tags)
}