fix: bug with description
This commit is contained in:
parent
d183af929b
commit
af0ceb440d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue