Fix goimports in all existing files. Execution of ./scripts/fix.sh

Signed-off-by: Piotr Tabor <ptab@google.com>
This commit is contained in:
Piotr Tabor
2022-12-28 16:38:03 +01:00
parent 5a28a02b97
commit 9e1abbab6e
94 changed files with 181 additions and 88 deletions

View File

@ -17,10 +17,11 @@ package etcdhttp
import (
"net/http"
"go.uber.org/zap"
httptypes "go.etcd.io/etcd/server/v3/etcdserver/api/etcdhttp/types"
"go.etcd.io/etcd/server/v3/etcdserver/api/v2error"
"go.etcd.io/etcd/server/v3/etcdserver/errors"
"go.uber.org/zap"
)
func allowMethod(w http.ResponseWriter, r *http.Request, m string) bool {