Skip to content

Commit d68bf05

Browse files
committed
fix lint
1 parent 88baa34 commit d68bf05

File tree

2 files changed

+36
-7
lines changed

2 files changed

+36
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
version: 1
3+
interactions:
4+
- request:
5+
body: '{"message":"authentication is denied","method":"api_key","reason":"not_found","type":"denied_authentication"}'
6+
form: {}
7+
headers:
8+
User-Agent:
9+
- scaleway-sdk-go/v1.0.0-beta.33.0.20250415141343-ed7d8fa2ef23 (go1.24.1; darwin;
10+
amd64) cli-e2e-test
11+
url: https://api.scaleway.com/mongodb/v1alpha1/regions/fr-par/versions
12+
method: GET
13+
response:
14+
body: '{"message":"authentication is denied","method":"api_key","reason":"not_found","type":"denied_authentication"}'
15+
headers:
16+
Content-Length:
17+
- "109"
18+
Content-Security-Policy:
19+
- default-src 'none'; frame-ancestors 'none'
20+
Content-Type:
21+
- application/json
22+
Date:
23+
- Thu, 17 Apr 2025 14:38:27 GMT
24+
Server:
25+
- Scaleway API Gateway (fr-par-3;edge03)
26+
Strict-Transport-Security:
27+
- max-age=63072000
28+
X-Content-Type-Options:
29+
- nosniff
30+
X-Frame-Options:
31+
- DENY
32+
X-Request-Id:
33+
- 1fdfe4ef-fffa-4161-bf2f-471785bce599
34+
status: 401 Unauthorized
35+
code: 401
36+
duration: ""

internal/namespaces/rdb/v1/custom_instance.go

-7
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ const (
3232
errorMessageEndpointNotFound = "any endpoint is associated on your instance"
3333
)
3434

35-
type rdbInstanceSettingsEditArgs struct {
36-
Region scw.Region
37-
InstanceID string
38-
Mode editor.MarshalMode
39-
}
40-
4135
var instanceStatusMarshalSpecs = human.EnumMarshalSpecs{
4236
rdbSDK.InstanceStatusUnknown: &human.EnumMarshalSpec{
4337
Attribute: color.Faint,
@@ -934,7 +928,6 @@ func instanceConnectCommand() *core.Command {
934928
}
935929

936930
func instanceSettingsEditCommand() *core.Command {
937-
938931
type settingsEditArgs struct {
939932
InstanceID string `arg:"positional,required"`
940933
Region scw.Region `arg:"required"`

0 commit comments

Comments
 (0)