fix: correct stickler issues

This commit is contained in:
Jose Diaz-Gonzalez
2020-03-10 23:56:16 -04:00
parent 7fa9b72144
commit e789504db1
4 changed files with 6 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ package config
import "fmt"
// TriggerConfigGet returns an app config value by key
func TriggerConfigGet(appName string, key string) error {
value, ok := Get(appName, key)
if ok {
@@ -11,6 +12,7 @@ func TriggerConfigGet(appName string, key string) error {
return nil
}
// TriggerConfigGet returns a global config value by key
func TriggerConfigGetGlobal(key string) error {
value, ok := Get("--global", key)
if ok {