From 77fb689d4664e8f0e17e31940271375017a28ec8 Mon Sep 17 00:00:00 2001 From: Yash <93548927+code4Y@users.noreply.github.com> Date: Thu, 21 Apr 2022 23:08:03 +0530 Subject: [PATCH] Removed inappropriate operator (And) #872 And operator and duplicate host was removed --- delfin/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delfin/test.py b/delfin/test.py index 39e6bc5b3..cac4802e9 100644 --- a/delfin/test.py +++ b/delfin/test.py @@ -153,7 +153,7 @@ def flags(self, **kw): CONF.set_override(k, v) def start_service(self, name, host=None, **kwargs): - host = host and host or uuidutils.generate_uuid() + host = host or uuidutils.generate_uuid() kwargs.setdefault('host', host) kwargs.setdefault('binary', 'delfin-%s' % name) svc = service.Service.create(**kwargs)