comment
This commit is contained in:
parent
0b38c4f6c7
commit
3c6d18a2b8
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ func runDaemon(ctx context.Context, configFile *string) func(cmd *cobra.Command,
|
|||
}
|
||||
|
||||
if len(cfg.Runner.Labels) > 0 {
|
||||
// overwirte the labels in the config file to the state file
|
||||
// overwirte the labels in the config file to the state file.
|
||||
reg.Labels = cfg.Runner.Labels
|
||||
if err := config.SaveRegistration(cfg.Runner.File, reg); err != nil {
|
||||
return fmt.Errorf("failed to save runner config: %w", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue