WIP: Morph: Add unit tests #2

Closed
dstepanov-yadro wants to merge 233 commits from TrueCloudLab/frostfs-node:master into object-3608-morph-unit-tests
Showing only changes of commit 9bc1a25c07 - Show all commits

View file

@ -167,7 +167,7 @@ func setWriteCacheDuration(m *prometheus.HistogramVec, shardID string, success b
wcSuccess: fmt.Sprintf("%v", success), wcSuccess: fmt.Sprintf("%v", success),
wcStorage: storageType, wcStorage: storageType,
}, },
).Observe(float64(d)) ).Observe(d.Seconds())
} }
func newWCMethodDurationCounter(method string) *prometheus.HistogramVec { func newWCMethodDurationCounter(method string) *prometheus.HistogramVec {