ref(client): use const for default values

pull/419/head
Adam Reese 9 years ago
parent fa6b34aa6b
commit f382c70fb6

@ -29,11 +29,12 @@ import (
"github.com/kubernetes/helm/pkg/version"
)
// DefaultHTTPTimeout is the default HTTP timeout.
var DefaultHTTPTimeout = time.Second * 10
// DefaultHTTPProtocol is the default HTTP Protocol (http, https).
var DefaultHTTPProtocol = "http"
const (
// DefaultHTTPTimeout is the default HTTP timeout.
DefaultHTTPTimeout = time.Second * 10
// DefaultHTTPProtocol is the default HTTP Protocol (http, https).
DefaultHTTPProtocol = "http"
)
// Client is a DM client.
type Client struct {

Loading…
Cancel
Save