Merge pull request #27246 from vajdaz/master

Fix typo in worker.py example script
This commit is contained in:
Kubernetes Prow Robot
2021-05-19 00:52:51 -07:00
committed by GitHub
@@ -8,7 +8,7 @@ host="redis"
# import os
# host = os.getenv("REDIS_SERVICE_HOST")
q = rediswq.RedisWQ(name="job2", host="redis")
q = rediswq.RedisWQ(name="job2", host=host)
print("Worker with sessionID: " + q.sessionID())
print("Initial queue state: empty=" + str(q.empty()))
while not q.empty():