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:
|
if bucket['name'] == self.name:
|
||||||
self.id = bucket['id']
|
self.id = bucket['id']
|
||||||
self.retention = bucket['retentionRules'][0]['everySeconds']
|
self.retention = bucket['retentionRules'][0]['everySeconds']
|
||||||
|
self.description = ''
|
||||||
if 'description' in bucket:
|
if 'description' in bucket:
|
||||||
self.description = bucket['description']
|
self.description = bucket['description']
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue