From d7c7511ea9fe4678cbef05c837b16b24e3d0b529 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 8 Apr 2019 12:52:30 -0400 Subject: [PATCH] fix: correct comment on GetResourceValue --- plugins/resource/resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/resource/resource.go b/plugins/resource/resource.go index cddb2cf9e..fc6e17372 100644 --- a/plugins/resource/resource.go +++ b/plugins/resource/resource.go @@ -67,7 +67,7 @@ func ReportSingleApp(appName, infoFlag string) { common.LogFail(fmt.Sprintf("Invalid flag passed, valid flags: %s", strings.Join(strkeys, ", "))) } -// Fetches a single value for a given app/process/request/key combination +// GetResourceValue fetches a single value for a given app/process/request/key combination func GetResourceValue(appName string, processType string, requestType string, key string) (string, error) { resources, err := common.PropertyGetAll("resource", appName) if err != nil {