feat(cli): make register interactive stages working
This commit is contained in:
parent
8f9d7506dc
commit
bfcc6f56f3
8 changed files with 132 additions and 84 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue