Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update list of names #2213

Merged
merged 2 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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