feat(cli): make register interactive stages working

This commit is contained in:
fuxiaohei authored and Jason Song committed 2022-11-24 15:38:05 +08:00
1 parent 8f9d7506dc
commit bfcc6f56f3
8 files changed
+132 -84

No files matched your search

+5 -4
View File
@@ -42,10 +42,11 @@ func (p *Register) Register(ctx context.Context, cfg config.Runner) (*core.Runne
}
data := &core.Runner{
ID: resp.Msg.Runner.Id,
UUID: resp.Msg.Runner.Uuid,
Name: resp.Msg.Runner.Name,
Token: resp.Msg.Runner.Token,
ID: resp.Msg.Runner.Id,
UUID: resp.Msg.Runner.Uuid,
Name: resp.Msg.Runner.Name,
Token: resp.Msg.Runner.Token,
Address: p.Client.Address(),
// ForgeInstance: resp.Msg.Runner.ForgeInstance, TODO: add me
}