Skip to content

Commit c0551d5

Browse files
committed
fix(runner): formatted config json
1 parent aac149e commit c0551d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/runners/job_pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ func (p *JobPool) tryRegisterRunner(configFilePath *string) (ok bool) {
408408
}
409409

410410
config.Runner.Token = res.Token
411-
configFileBuffer, err = json.Marshal(config)
411+
configFileBuffer, err = json.MarshalIndent(&config, " ", "\t")
412412
if err != nil {
413413
logger.ActionError(err, "marshal config file", "can not marshal config file")
414414
return

0 commit comments

Comments
 (0)