Skip to content

Commit

Permalink
Visibility - update commands count metric to correspond with client i…
Browse files Browse the repository at this point in the history
…mprovements
  • Loading branch information
omerzi committed Jan 15, 2025
1 parent 3d5c49a commit fd1af60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ require (
gopkg.in/warnings.v0 v0.1.2 // indirect
)

replace github.com/jfrog/jfrog-client-go => github.com/omerzi/jfrog-client-go v1.13.2-0.20250115125705-489947a67e4e
replace github.com/jfrog/jfrog-client-go => github.com/omerzi/jfrog-client-go v1.13.2-0.20250115131143-bfbba9e884e6

// replace github.com/jfrog/build-info-go => github.com/jfrog/build-info-go v1.8.9-0.20241121100855-e7a75ceee2bd

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyua
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/nwaples/rardecode v1.1.3 h1:cWCaZwfM5H7nAD6PyEdcVnczzV8i/JtotnyW/dD9lEc=
github.com/nwaples/rardecode v1.1.3/go.mod h1:5DzqNKiOdpKKBH87u8VlvAnPZMXcGRhxWkRpHbbfGS0=
github.com/omerzi/jfrog-client-go v1.13.2-0.20250115125705-489947a67e4e h1:1AGK2NwuwvstzPtlkLgC6z5IEAMd9b0e5lkEgNBCegg=
github.com/omerzi/jfrog-client-go v1.13.2-0.20250115125705-489947a67e4e/go.mod h1:ohIfKpMBCQsE9kunrKQ1wvoExpqsPLaluRFO186B5EM=
github.com/omerzi/jfrog-client-go v1.13.2-0.20250115131143-bfbba9e884e6 h1:BD/0tW5DpVV9PDf59hK6CzLGTUyn4u6Wa6ME8U/07bI=
github.com/omerzi/jfrog-client-go v1.13.2-0.20250115131143-bfbba9e884e6/go.mod h1:ohIfKpMBCQsE9kunrKQ1wvoExpqsPLaluRFO186B5EM=
github.com/onsi/gomega v1.34.1 h1:EUMJIKUjM8sKjYbtxQI9A4z2o+rruxnzNvpknOXie6k=
github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY=
github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM=
Expand Down
8 changes: 0 additions & 8 deletions utils/usage/visibility/commands_count_metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,3 @@ func newCommandsCountMetric() commandsCountMetric {
},
}
}

func (ccm *commandsCountMetric) MetricsName() string {
return ccm.Name
}

func (ccm *commandsCountMetric) Value() int {
return ccm.Metric.Value
}

0 comments on commit fd1af60

Please sign in to comment.