Merge pull request #15540 from influxdata/fix-system-bucket-lookup
fix(influxdb): Add OrgID to system bucketspull/15543/head
commit
928218f7f4
|
@ -189,6 +189,7 @@ func (s *Service) findBucketByName(ctx context.Context, tx Tx, orgID influxdb.ID
|
|||
Name: influxdb.TasksSystemBucketName,
|
||||
RetentionPeriod: influxdb.TasksSystemBucketRetention,
|
||||
Description: "System bucket for task logs",
|
||||
OrgID: orgID,
|
||||
}, nil
|
||||
case influxdb.MonitoringSystemBucketName:
|
||||
return &influxdb.Bucket{
|
||||
|
@ -197,6 +198,7 @@ func (s *Service) findBucketByName(ctx context.Context, tx Tx, orgID influxdb.ID
|
|||
Name: influxdb.MonitoringSystemBucketName,
|
||||
RetentionPeriod: influxdb.MonitoringSystemBucketRetention,
|
||||
Description: "System bucket for monitoring logs",
|
||||
OrgID: orgID,
|
||||
}, nil
|
||||
default:
|
||||
return nil, &influxdb.Error{
|
||||
|
|
Loading…
Reference in New Issue