From 0af8b2421d2585fff7b54d93fb27ee20e23b9ffd Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 8 Apr 2019 12:42:25 -0400 Subject: [PATCH] fix: correct range call --- plugins/resource/subcommands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/resource/subcommands.go b/plugins/resource/subcommands.go index 2c0ced583..fcb90be0d 100644 --- a/plugins/resource/subcommands.go +++ b/plugins/resource/subcommands.go @@ -62,7 +62,7 @@ func clearByRequestType(appName string, processType string, requestType string) if err != nil { return err } - for key, _ := range resources { + for key := range resources { err := common.PropertyDelete("resource", appName, key) if err != nil { return err