fix: bug with description

This commit is contained in:
Adrien Waksberg 2023-09-07 11:12:50 +02:00
parent d183af929b
commit af0ceb440d

View file

@ -28,6 +28,7 @@ class InfluxdbBucket:
if bucket['name'] == self.name:
self.id = bucket['id']
self.retention = bucket['retentionRules'][0]['everySeconds']
self.description = ''
if 'description' in bucket:
self.description = bucket['description']
return True