fix(helm): fix golint warning due to RepoFile type name

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
pull/3756/head
Arash Deshmeh 8 years ago
parent d25ae407a1
commit fbb522bfd1

@ -31,7 +31,8 @@ import (
var ErrRepoOutOfDate = errors.New("repository file is out of date")
// RepoFile represents the repositories.yaml file in $HELM_HOME
type RepoFile struct {
// TODO: change type name to File in Helm 3 to resolve linter warning
type RepoFile struct { // nolint
APIVersion string `json:"apiVersion"`
Generated time.Time `json:"generated"`
Repositories []*Entry `json:"repositories"`

Loading…
Cancel
Save