@@ -28,6 +28,7 @@ type appConfig struct {
2828 applicationMessage string
2929 color string
3030 logToFileOnly bool
31+ persistMetaInfo bool
3132 catImageUrl string
3233}
3334
@@ -47,6 +48,7 @@ func (appConfig *appConfig) String() string {
4748 sb .WriteString (fmt .Sprintf ("\t Application message: %s\n " , appConfig .applicationMessage ))
4849 sb .WriteString (fmt .Sprintf ("\t color: %s\n " , appConfig .color ))
4950 sb .WriteString (fmt .Sprintf ("\t logToFileOnly: %v\n " , appConfig .logToFileOnly ))
51+ sb .WriteString (fmt .Sprintf ("\t persistMetaInfo: %v\n " , appConfig .persistMetaInfo ))
5052 sb .WriteString (fmt .Sprintf ("\t catImageUrl: %s\n " , appConfig .catImageUrl ))
5153 return sb .String ()
5254}
@@ -83,6 +85,7 @@ func (appConfig *appConfig) initAppConfig(isReady bool) {
8385 appConfig .applicationMessage = getAppConfigStringValue (fileConfig , "message" , "APP_MESSAGE" , "not set" )
8486 appConfig .color = getAppConfigStringValue (fileConfig , "color" , "APP_COLOR" , "not set" )
8587 appConfig .logToFileOnly = getAppConfigBoolValue (fileConfig , "logToFileOnly" , "" , false )
88+ appConfig .persistMetaInfo = getAppConfigBoolValue (fileConfig , "persistMetaInfo" , "" , false )
8689 appConfig .startUpDelaySeconds = getAppConfigIntValue (fileConfig , "startUpDelaySeconds" , "" , 0 )
8790 appConfig .tearDownDelaySeconds = getAppConfigIntValue (fileConfig , "tearDownDelaySeconds" , "" , 0 )
8891 catMode := getAppConfigBoolValue (fileConfig , "catMode" , "" , false )
0 commit comments