docs(comment): updated comment to be upto date

This commit is contained in:
Roxie Gibson 2021-07-31 21:25:32 +01:00
parent f958b888b6
commit 805defec09
Signed by untrusted user: roxxers
GPG Key ID: 5D0140EDEE123F4D

View File

@ -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 {