Closed ThinkontrolSY closed 11 months ago
Client Version: v2.12.2
InfluxDB Version:
Platform: Debian 5.10.191-1 (2023-08-16) x86_64
update bucket to change it's retention, but not work
bucketApi := client.BucketsAPI() if bucketInst, err := bucketApi.FindBucketByName(ctx, bucketName); err == nil && bucketInst != nil { bucketInst.RetentionRules = domain.RetentionRules([]domain.RetentionRule{ { EverySeconds: retention * 3600 * 24, }, }) _, err = bucketApi.UpdateBucket(ctx, bucketInst) if err != nil { log.Error(err) return err } } else { log.Error(err) return err }
bucket with bucketName should update it's retention, but it's not
No response
Sorry, It seams the fault in my code
Specifications
Client Version: v2.12.2
InfluxDB Version:
Platform: Debian 5.10.191-1 (2023-08-16) x86_64
Steps to reproduce
update bucket to change it's retention, but not work
Expected behavior
bucket with bucketName should update it's retention, but it's not
Actual behavior
bucket with bucketName should update it's retention, but it's not
Additional info
No response