Improve the quality of annotations

Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
pull/6499/head
yuxiaobo 5 years ago
parent 0a488670ca
commit 58c004bb89

@ -106,7 +106,7 @@ func (c *createCmd) run() error {
if c.starter != "" {
// Create from the starter
lstarter := filepath.Join(c.home.Starters(), c.starter)
// If path is absolute, we dont want to prefix it with helm starters folder
// If path is absolute, we don't want to prefix it with helm starters folder
if filepath.IsAbs(c.starter) {
lstarter = c.starter
}

@ -55,7 +55,7 @@ type Index struct {
charts map[string]*repo.ChartVersion
}
// NewIndex creats a new Index.
// NewIndex creates a new Index.
func NewIndex() *Index {
return &Index{lines: map[string]string{}, charts: map[string]*repo.ChartVersion{}}
}

@ -17,7 +17,7 @@ limitations under the License.
/*Package chartutil contains tools for working with charts.
Charts are described in the protocol buffer definition (pkg/proto/hapi/charts).
This packe provides utilities for serializing and deserializing charts.
This package provides utilities for serializing and deserializing charts.
A chart can be represented on the file system in one of two ways:

@ -54,6 +54,6 @@ func TestFilterAll(t *testing.T) {
case r0.Version == 4:
t.Fatal("got release with status revision 4")
case r0.Info.Status.Code == rspb.Status_DELETED:
t.Fatal("got release with status DELTED")
t.Fatal("got release with status DELETED")
}
}

Loading…
Cancel
Save