add forgeinstance

This commit is contained in:
Lunny Xiao
2022-10-16 23:51:53 +08:00
committed by Jason Song
parent 9c7d2be7c6
commit 378966e45f
7 changed files with 28 additions and 22 deletions

View File

@ -46,6 +46,7 @@ func (p *Register) Register(ctx context.Context, cfg config.Runner) (*core.Runne
UUID: resp.Msg.Runner.Uuid,
Name: resp.Msg.Runner.Name,
Token: resp.Msg.Runner.Token,
// ForgeInstance: resp.Msg.Runner.ForgeInstance, TODO: add me
}
file, err := json.MarshalIndent(data, "", " ")