1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-20 09:56:47 +02:00

app/config: Adding description to methods.

This commit is contained in:
Henrik Hautakoski 2024-02-12 15:13:09 +01:00
parent 49faaf5325
commit 4a5cff20cd
4 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,7 @@ import (
"github.com/urfave/cli/v2"
)
// Read cli flag values into the config
func (cfg *Config) ReadCliFlags(ctx *cli.Context) error {
logFile := ctx.Path("log")
if len(logFile) > 0 {