worker: use current bucket instance, if plain bucket name passed
from:
52c409a782d46ab2f21135de05e2af00656dcf2c
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Alfredo Deza <adeza@redhat.com>
new_retries = []
for bucket_instance in bucket_instances.union(retries):
+ if ':' not in bucket_instance:
+ # it's just a plain bucket from an old version of the agent
+ bucket_instance = self.get_bucket_instance(bucket_instance)
+
bound = client.get_worker_bound(
self.dest_conn,
'bucket-index',