mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
ucind: wait for machine to become ready through polling API
This commit is contained in:
@@ -8,11 +8,11 @@ import (
|
||||
var ErrNotFound = errors.New("not found")
|
||||
|
||||
type Provisioner struct {
|
||||
client *client.Client
|
||||
dockerCli *client.Client
|
||||
}
|
||||
|
||||
func NewProvisioner(cli *client.Client) *Provisioner {
|
||||
return &Provisioner{
|
||||
client: cli,
|
||||
dockerCli: cli,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user