Skip to content

Commit efd850a

Browse files
committed
chore: remove blocking validation of zone
1 parent 6e3ceed commit efd850a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

builder/scaleway/builder.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, []string, error) {
4444
func (b *Builder) Run(ctx context.Context, ui packersdk.Ui, hook packersdk.Hook) (packersdk.Artifact, error) { //nolint:ireturn
4545
scwZone, err := scw.ParseZone(b.Config.Zone)
4646
if err != nil {
47-
ui.Error(err.Error())
48-
49-
return nil, err
47+
ui.Sayf("error: %s cannot recognize zone, got: %", err.Error(), scwZone)
5048
}
5149

5250
clientOpts := []scw.ClientOption{

0 commit comments

Comments
 (0)