Skip to content

Commit 4dde390

Browse files
authored
Merge pull request #26 from jimmidyson/fmt-vet-errors
Fix gofmt and vet errors
2 parents 3c46c54 + a8c7e50 commit 4dde390

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

options.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type Options struct {
2222
ProxyPrefix string `flag:"proxy-prefix" cfg:"proxy-prefix"`
2323
HttpAddress string `flag:"http-address" cfg:"http_address"`
2424
HttpsAddress string `flag:"https-address" cfg:"https_address"`
25-
DebugAddress string `flag:"debug-address", cfg:"debug_address"`
25+
DebugAddress string `flag:"debug-address" cfg:"debug_address"`
2626
UpstreamFlush time.Duration `flag:"upstream-flush" cfg:"upstream_flush"`
2727
RedirectURL string `flag:"redirect-url" cfg:"redirect_url"`
2828
ClientID string `flag:"client-id" cfg:"client_id" env:"OAUTH2_PROXY_CLIENT_ID"`

providers/session_state_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/openshift/oauth-proxy/cookie"
98
"github.com/bmizerany/assert"
9+
"github.com/openshift/oauth-proxy/cookie"
1010
)
1111

1212
const secret = "0123456789abcdefghijklmnopqrstuv"

test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33

44
echo "gofmt"
5-
diff -u <(echo -n) <(gofmt -d $(find . -type f -name '*.go' -not -path "./.godeps/*"))
5+
diff -u <(echo -n) <(gofmt -d $(find . -type f -name '*.go' -not -path "./.godeps/*" -not -path "./vendor/*"))
66
echo "go vet"
77
go vet ./...
88
echo "go test"

0 commit comments

Comments
 (0)