mirror of
https://github.com/helm/helm.git
synced 2026-04-20 21:56:55 -04:00
refactor: omit unnecessary reassignment
Signed-off-by: joemicky <joemickychang@outlook.com>
This commit is contained in:
parent
e1b9173812
commit
762ef3ee80
3 changed files with 0 additions and 3 deletions
|
|
@ -890,7 +890,6 @@ func TestNameAndChartGenerateName(t *testing.T) {
|
|||
}
|
||||
|
||||
for _, tc := range tests {
|
||||
tc := tc
|
||||
t.Run(tc.Name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,6 @@ func loadPlugins(baseCmd *cobra.Command, out io.Writer) {
|
|||
|
||||
// Now we create commands for all of these.
|
||||
for _, plug := range found {
|
||||
plug := plug
|
||||
md := plug.Metadata
|
||||
if md.Usage == "" {
|
||||
md.Usage = fmt.Sprintf("the %q plugin", md.Name)
|
||||
|
|
|
|||
|
|
@ -160,7 +160,6 @@ func TestLoadIndex(t *testing.T) {
|
|||
}
|
||||
|
||||
for _, tc := range tests {
|
||||
tc := tc
|
||||
t.Run(tc.Name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
i, err := LoadIndexFile(tc.Filename)
|
||||
|
|
|
|||
Loading…
Reference in a new issue