commit | f4b16e17f45e5e4b704d3df1fd0ad6cf9120c8a7 | [log] [tgz] |
---|---|---|
author | Johnathan Franck <jafranck@google.com> | Mon Oct 22 10:03:04 2018 -0700 |
committer | Johnathan Franck <jafranck@google.com> | Mon Oct 22 10:03:04 2018 -0700 |
tree | e6b8b3409f2b550cde56de781705fe391e807cab | |
parent | 23304326d5c83ef3b12763af897f6b5aca51fb97 [diff] |
Fix bug for displaying no waitlist services
diff --git a/testclient/waitlistClient.go b/testclient/waitlistClient.go index 92098bf..4f673e7 100644 --- a/testclient/waitlistClient.go +++ b/testclient/waitlistClient.go
@@ -189,7 +189,7 @@ } } - if len(services) == 0 { + if len(waitlistServices) == 0 { log.Fatal("no services have waitlist rules") } reducedServices := utils.ReduceServices(waitlistServices, *numTestServices)