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" "github.com/kubernetes/helm/pkg/version"
) )
// DefaultHTTPTimeout is the default HTTP timeout. const (
var DefaultHTTPTimeout = time.Second * 10 // DefaultHTTPTimeout is the default HTTP timeout.
DefaultHTTPTimeout = time.Second * 10
// DefaultHTTPProtocol is the default HTTP Protocol (http, https). // DefaultHTTPProtocol is the default HTTP Protocol (http, https).
var DefaultHTTPProtocol = "http" DefaultHTTPProtocol = "http"
)
// Client is a DM client. // Client is a DM client.
type Client struct { type Client struct {

Loading…
Cancel
Save