mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 14:14:52 +00:00
feat: deploy caddy service when initialising new cluster on remote machine
This commit is contained in:
1 parent
98e1bdc9b5
commit
c3b88077ac
4 files changed
+68
-20
No files matched your search
@@ -129,7 +129,7 @@ func (d *Deployment) Validate(ctx context.Context) error {
|
||||
func (d *Deployment) Run(ctx context.Context) (string, error) {
|
||||
plan, err := d.Plan(ctx)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("plan: %w", err)
|
||||
return "", fmt.Errorf("create plan: %w", err)
|
||||
}
|
||||
|
||||
return plan.ServiceID, plan.Execute(ctx, d.cli)
|
||||
|
||||
Reference in new issue
Block a user