Skip to content

Commit

Permalink
Remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
anjalshireesh committed Apr 29, 2024
1 parent e9b4fd7 commit 541f502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/metrics-v3-types.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ func (mg *MetricsGroup) AddExtraLabels(labels ...string) {
// requiresObjectLayer - use to add dependency on the global object layer API
// when creating the metrics group
// e.g. myMG := NewMetricsGroup(...).requiresObjectLayer()
func (mg *MetricsGroup) requiresObjectLayer(labels ...string) *MetricsGroup {
func (mg *MetricsGroup) requiresObjectLayer() *MetricsGroup {
mg.metricsGroupOpts.dependGlobalObjectAPI = true
return mg
}
Expand Down

0 comments on commit 541f502

Please sign in to comment.