Skip to content

Commit ac8dd73

Browse files
committed
refactor(ufw):
- improved acl create message
1 parent 81dc025 commit ac8dd73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/cmd/ufw/rules/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func buildRequest(ctx context.Context, model *inputModel, apiClient *ufw.APIClie
159159
req := apiClient.DefaultAPI.CreateRule(ctx, model.ProjectId, model.Region)
160160

161161
if *model.Type != "ACL" {
162-
return req, fmt.Errorf("invalid rule type: %s", *model.Type)
162+
return req, fmt.Errorf("invalid rule type: %s, only ACL type supported for now", *model.Type)
163163
}
164164

165165
req = req.CreateRulePayload(ufw.CreateRulePayload{

0 commit comments

Comments
 (0)