fix: correct comment on GetResourceValue
This commit is contained in:
1 parent
0af8b2421d
commit
d7c7511ea9
1 file changed
+1
-1
@@ -67,7 +67,7 @@ func ReportSingleApp(appName, infoFlag string) {
|
|||||||
common.LogFail(fmt.Sprintf("Invalid flag passed, valid flags: %s", strings.Join(strkeys, ", ")))
|
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) {
|
func GetResourceValue(appName string, processType string, requestType string, key string) (string, error) {
|
||||||
resources, err := common.PropertyGetAll("resource", appName)
|
resources, err := common.PropertyGetAll("resource", appName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in new issue
Block a user