Skip to content

Commit

Permalink
Fix: pass user into GetGCTaskList
Browse files Browse the repository at this point in the history
RGW Collector need user to perform gc list command
  • Loading branch information
greatbn authored Dec 30, 2024
1 parent 0e04028 commit 5595493
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ceph/rgw.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func NewRGWCollector(exporter *Exporter, background bool) *RGWCollector {

rgw := &RGWCollector{
config: exporter.Config,
user: exporter.User,
background: background,
logger: exporter.Logger,
getRGWGCTaskList: rgwGetGCTaskList,
Expand Down

0 comments on commit 5595493

Please sign in to comment.