Skip to content

Commit f401fce

Browse files
committed
fix: add logging when RUNNER_BASE_DIRECTORY is configured
Log the configured runner base directory when it is set via environment variable, following the pattern used for plugin path.
1 parent a81b42e commit f401fce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/config/init.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ func LoadWithDefault() Conf {
5353
c.RunnerBaseDirectory = "/tmp"
5454
if os.Getenv(EnvRunnerBaseDirectory) != "" {
5555
c.RunnerBaseDirectory = os.Getenv(EnvRunnerBaseDirectory)
56+
log.Printf("use runner base directory is %s\n", c.RunnerBaseDirectory)
5657
}
5758

5859
c.Debug = false

0 commit comments

Comments
 (0)