Skip to content

Commit

Permalink
fix: update list of names (#2213)
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone committed Sep 12, 2024
1 parent bec257c commit d319ae1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 197 deletions.
2 changes: 0 additions & 2 deletions api/instance/v1/server_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,10 @@ func TestAPI_AllServerUserData(t *testing.T) {
{
"hello": "world",
"scale": "way",
"xavier": "niel",
"tic": "tac",
"cloud-init": "on",
},
{
"xavier": "niel",
"scale": "way",
"steve": "wozniak",
"cloud-init": "off",
Expand Down
196 changes: 4 additions & 192 deletions api/instance/v1/testdata/all-server-user-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,38 +131,6 @@ interactions:
status: 204 No Content
code: 204
duration: ""
- request:
body: niel
form: {}
headers:
Content-Type:
- text/plain
User-Agent:
- scaleway-sdk-go/0.0.0 (go1.12.5; darwin; amd64)
url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/b2266f9f-d089-41be-84b7-0bd9690fc505/user_data/xavier
method: PATCH
response:
body: ""
headers:
Cache-Control:
- no-cache
Content-Security-Policy:
- default-src 'none'; frame-ancestors 'none'
Content-Type:
- text/plain
Date:
- Mon, 24 Jun 2019 17:26:48 GMT
Server:
- scaleway_api
Strict-Transport-Security:
- max-age=63072000
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
status: 204 No Content
code: 204
duration: ""
- request:
body: tac
form: {}
Expand Down Expand Up @@ -268,7 +236,7 @@ interactions:
url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/b2266f9f-d089-41be-84b7-0bd9690fc505/user_data
method: GET
response:
body: '{"user_data": ["cloud-init", "hello", "scale", "tic", "xavier"]}'
body: '{"user_data": ["cloud-init", "hello", "scale", "tic"]}'
headers:
Cache-Control:
- no-cache
Expand Down Expand Up @@ -419,38 +387,6 @@ interactions:
status: 200 OK
code: 200
duration: ""
- request:
body: ""
form: {}
headers:
User-Agent:
- scaleway-sdk-go/0.0.0 (go1.12.5; darwin; amd64)
url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/b2266f9f-d089-41be-84b7-0bd9690fc505/user_data/xavier
method: GET
response:
body: niel
headers:
Cache-Control:
- no-cache
Content-Length:
- "4"
Content-Security-Policy:
- default-src 'none'; frame-ancestors 'none'
Content-Type:
- text/plain
Date:
- Mon, 24 Jun 2019 17:26:48 GMT
Server:
- scaleway_api
Strict-Transport-Security:
- max-age=63072000
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
status: 200 OK
code: 200
duration: ""
- request:
body: ""
form: {}
Expand All @@ -460,7 +396,7 @@ interactions:
url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/b2266f9f-d089-41be-84b7-0bd9690fc505/user_data
method: GET
response:
body: '{"user_data": ["cloud-init", "hello", "scale", "tic", "xavier"]}'
body: '{"user_data": ["cloud-init", "hello", "scale", "tic"]}'
headers:
Cache-Control:
- no-cache
Expand Down Expand Up @@ -603,36 +539,6 @@ interactions:
status: 204 No Content
code: 204
duration: ""
- request:
body: ""
form: {}
headers:
User-Agent:
- scaleway-sdk-go/0.0.0 (go1.12.5; darwin; amd64)
url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/b2266f9f-d089-41be-84b7-0bd9690fc505/user_data/xavier
method: DELETE
response:
body: ""
headers:
Cache-Control:
- no-cache
Content-Security-Policy:
- default-src 'none'; frame-ancestors 'none'
Content-Type:
- application/json
Date:
- Mon, 24 Jun 2019 17:26:49 GMT
Server:
- scaleway_api
Strict-Transport-Security:
- max-age=63072000
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
status: 204 No Content
code: 204
duration: ""
- request:
body: wozniak
form: {}
Expand Down Expand Up @@ -697,38 +603,6 @@ interactions:
status: 204 No Content
code: 204
duration: ""
- request:
body: niel
form: {}
headers:
Content-Type:
- text/plain
User-Agent:
- scaleway-sdk-go/0.0.0 (go1.12.5; darwin; amd64)
url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/b2266f9f-d089-41be-84b7-0bd9690fc505/user_data/xavier
method: PATCH
response:
body: ""
headers:
Cache-Control:
- no-cache
Content-Security-Policy:
- default-src 'none'; frame-ancestors 'none'
Content-Type:
- text/plain
Date:
- Mon, 24 Jun 2019 17:26:49 GMT
Server:
- scaleway_api
Strict-Transport-Security:
- max-age=63072000
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
status: 204 No Content
code: 204
duration: ""
- request:
body: way
form: {}
Expand Down Expand Up @@ -770,7 +644,7 @@ interactions:
url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/b2266f9f-d089-41be-84b7-0bd9690fc505/user_data
method: GET
response:
body: '{"user_data": ["cloud-init", "scale", "steve", "xavier"]}'
body: '{"user_data": ["cloud-init", "scale", "steve"]}'
headers:
Cache-Control:
- no-cache
Expand Down Expand Up @@ -889,38 +763,6 @@ interactions:
status: 200 OK
code: 200
duration: ""
- request:
body: ""
form: {}
headers:
User-Agent:
- scaleway-sdk-go/0.0.0 (go1.12.5; darwin; amd64)
url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/b2266f9f-d089-41be-84b7-0bd9690fc505/user_data/xavier
method: GET
response:
body: niel
headers:
Cache-Control:
- no-cache
Content-Length:
- "4"
Content-Security-Policy:
- default-src 'none'; frame-ancestors 'none'
Content-Type:
- text/plain
Date:
- Mon, 24 Jun 2019 17:26:49 GMT
Server:
- scaleway_api
Strict-Transport-Security:
- max-age=63072000
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
status: 200 OK
code: 200
duration: ""
- request:
body: ""
form: {}
Expand All @@ -930,7 +772,7 @@ interactions:
url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/b2266f9f-d089-41be-84b7-0bd9690fc505/user_data
method: GET
response:
body: '{"user_data": ["cloud-init", "scale", "steve", "xavier"]}'
body: '{"user_data": ["cloud-init", "scale", "steve"]}'
headers:
Cache-Control:
- no-cache
Expand Down Expand Up @@ -1043,36 +885,6 @@ interactions:
status: 204 No Content
code: 204
duration: ""
- request:
body: ""
form: {}
headers:
User-Agent:
- scaleway-sdk-go/0.0.0 (go1.12.5; darwin; amd64)
url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/b2266f9f-d089-41be-84b7-0bd9690fc505/user_data/xavier
method: DELETE
response:
body: ""
headers:
Cache-Control:
- no-cache
Content-Security-Policy:
- default-src 'none'; frame-ancestors 'none'
Content-Type:
- application/json
Date:
- Mon, 24 Jun 2019 17:26:50 GMT
Server:
- scaleway_api
Strict-Transport-Security:
- max-age=63072000
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
status: 204 No Content
code: 204
duration: ""
- request:
body: ""
form: {}
Expand Down
3 changes: 0 additions & 3 deletions namegenerator/name_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -628,9 +628,6 @@ var (
// Isaac Newton invented classic mechanics and modern optics. https://en.wikipedia.org/wiki/Isaac_Newton
"newton",

// Xavier Niel - ;) https://en.wikipedia.org/wiki/Xavier_Niel
"niel",

// Florence Nightingale, more prominently known as a nurse, was also the first female member of the Royal Statistical Society and a pioneer in statistical graphics https://en.wikipedia.org/wiki/Florence_Nightingale#Statistics_and_sanitary_reform
"nightingale",

Expand Down

0 comments on commit d319ae1

Please sign in to comment.