Skip to content

Commit dd5bb40

Browse files
authored
[NE03B-27] 'AuditLogAsyncClient.close' was never awaited (#4501)
1 parent ddadbfa commit dd5bb40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mgmtworker/cloudify_system_workflows/snapshots/audit_listener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def _stream_logs(self):
101101
since = audit_log.get('created_at')
102102
except BaseException:
103103
pass
104-
self._client.auditlog.close()
104+
await self._client.auditlog.close()
105105

106106
def _ref_in_snapshot(self, audit_log: dict) -> bool:
107107
ref_identifier = audit_log.get('ref_identifier', {})

0 commit comments

Comments
 (0)