Fix some comment nits.

This commit is contained in:
Jeffrey Regan
2019-04-19 09:26:54 -07:00
parent c752660aa6
commit a914570240
5 changed files with 25 additions and 17 deletions

View File

@@ -58,7 +58,7 @@ func NewPruneTransformer(p *types.Prune, namespace string, append bool) transfor
// The prune ConfigMap is used to support the pruning command in the client side tool,
// which is proposed in https://github.com/kubernetes/enhancements/pull/810
func (o *pruneTransformer) Transform(m resmap.ResMap) error {
keys := []string{}
var keys []string
for _, r := range m {
s := r.PruneString()
keys = append(keys, s)