docs(comment): updated comment to be upto date
This commit is contained in:
parent
f958b888b6
commit
805defec09
@ -128,8 +128,7 @@ func LoadAppFiles(servers ...string) (AppFiles, error) {
|
|||||||
|
|
||||||
// GetApp loads an apps settings, reading it from file, in preparation to use it
|
// GetApp loads an apps settings, reading it from file, in preparation to use it
|
||||||
//
|
//
|
||||||
// ONLY use when ready to use the env file to keep IO down and
|
// ONLY use when ready to use the env file to keep IO down
|
||||||
// because this exits with code 1 if the file cannot be found or is malformed
|
|
||||||
func GetApp(apps AppFiles, name AppName) (App, error) {
|
func GetApp(apps AppFiles, name AppName) (App, error) {
|
||||||
appFile, exists := apps[name]
|
appFile, exists := apps[name]
|
||||||
if !exists {
|
if !exists {
|
||||||
|
Loading…
Reference in New Issue
Block a user