Skip to content

Commit 30aa3a2

Browse files
remyleoneCodelax
andauthored
chore: remove obsolete example (#2477)
Co-authored-by: Jules Castéran <jcasteran@scaleway.com>
1 parent d034a57 commit 30aa3a2

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.golden

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ EXAMPLES:
99
Create instance
1010
scw baremetal server create
1111

12-
Create a GP-BM1-M instance, give it a name and add tags
13-
scw baremetal server create name=foo tags.0=prod tags.1=blue type=GP-BM1-M
14-
1512
ARGS:
1613
[project-id] Project ID to use. If none is passed the default project ID will be used
1714
name=<generated> Name of the server (≠hostname)

docs/commands/baremetal.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,6 @@ Create instance
272272
scw baremetal server create
273273
```
274274

275-
Create a GP-BM1-M instance, give it a name and add tags
276-
```
277-
scw baremetal server create name=foo tags.0=prod tags.1=blue type=GP-BM1-M
278-
```
279-
280275

281276

282277

internal/namespaces/baremetal/v1/custom_server_create.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ func serverCreateBuilder(c *core.Command) *core.Command {
9393
Short: "Create instance",
9494
ArgsJSON: `{}`,
9595
},
96-
{
97-
Short: "Create a GP-BM1-M instance, give it a name and add tags",
98-
ArgsJSON: `{"type":"GP-BM1-M","name":"foo","tags":["prod","blue"]}`,
99-
},
10096
}
10197

10298
c.WaitFunc = func(ctx context.Context, argsI, respI interface{}) (interface{}, error) {

0 commit comments

Comments
 (0)