mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43:21 +00:00
Fix goimports
This commit is contained in:
parent
ff6270ab62
commit
b213d2a274
2 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue