mirror of
https://github.com/restic/rest-server.git
synced 2026-09-27 06:21:28 -07:00
Fix goimports
This commit is contained in:
committed by
Zlatko Čalušić
parent
ff6270ab62
commit
b213d2a274
+3
-2
@@ -13,10 +13,11 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
"goji.io/middleware"
|
|
||||||
"goji.io/pat"
|
|
||||||
"github.com/miolini/datacounter"
|
"github.com/miolini/datacounter"
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
|
"goji.io/middleware"
|
||||||
|
"goji.io/pat"
|
||||||
)
|
)
|
||||||
|
|
||||||
func isHashed(dir string) bool {
|
func isHashed(dir string) bool {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ package restserver
|
|||||||
|
|
||||||
import "github.com/prometheus/client_golang/prometheus"
|
import "github.com/prometheus/client_golang/prometheus"
|
||||||
|
|
||||||
|
|
||||||
var metricBlobWriteTotal = prometheus.NewCounterVec(
|
var metricBlobWriteTotal = prometheus.NewCounterVec(
|
||||||
prometheus.CounterOpts{
|
prometheus.CounterOpts{
|
||||||
Name: "rest_server_blob_write_total",
|
Name: "rest_server_blob_write_total",
|
||||||
|
|||||||
Reference in New Issue
Block a user