mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-27 11:33:33 +00:00
refactor: postpone spec resolver initialisation when creating Deployment
This commit is contained in:
@@ -96,7 +96,7 @@ func runDeploy(ctx context.Context, uncli *cli.CLI, opts deployOptions) error {
|
||||
filter = machineFilter(machines)
|
||||
}
|
||||
|
||||
d, err := clusterClient.NewCaddyDeployment(ctx, opts.image, filter)
|
||||
d, err := clusterClient.NewCaddyDeployment(opts.image, filter)
|
||||
if err != nil {
|
||||
return fmt.Errorf("create caddy deployment: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user