Skip to content

Commit 4ea7d89

Browse files
remove required field from workspace id to make it not break
1 parent 6ff3587 commit 4ea7d89

25 files changed

Lines changed: 0 additions & 25 deletions

File tree

pkg/commands/ngwaf/workspace/countrylist/create.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ func NewCreateCommand(parent argparser.Registerer, g *global.Data) *CreateComman
4545
Description: argparser.FlagNGWAFWorkspaceIDDesc,
4646
Dst: &c.workspaceID.Value,
4747
Action: c.workspaceID.Set,
48-
Required: true,
4948
})
5049

5150
// Optional.

pkg/commands/ngwaf/workspace/countrylist/delete.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ func NewDeleteCommand(parent argparser.Registerer, g *global.Data) *DeleteComman
4141
Description: argparser.FlagNGWAFWorkspaceIDDesc,
4242
Dst: &c.workspaceID.Value,
4343
Action: c.workspaceID.Set,
44-
Required: true,
4544
})
4645

4746
// Optional.

pkg/commands/ngwaf/workspace/countrylist/get.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ func NewGetCommand(parent argparser.Registerer, g *global.Data) *GetCommand {
4040
Description: argparser.FlagNGWAFWorkspaceIDDesc,
4141
Dst: &c.workspaceID.Value,
4242
Action: c.workspaceID.Set,
43-
Required: true,
4443
})
4544

4645
// Optional.

pkg/commands/ngwaf/workspace/countrylist/list.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ func NewListCommand(parent argparser.Registerer, g *global.Data) *ListCommand {
4040
Description: argparser.FlagNGWAFWorkspaceIDDesc,
4141
Dst: &c.workspaceID.Value,
4242
Action: c.workspaceID.Set,
43-
Required: true,
4443
})
4544

4645
// Optional.

pkg/commands/ngwaf/workspace/countrylist/update.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ func NewUpdateCommand(parent argparser.Registerer, g *global.Data) *UpdateComman
4444
Description: argparser.FlagNGWAFWorkspaceIDDesc,
4545
Dst: &c.workspaceID.Value,
4646
Action: c.workspaceID.Set,
47-
Required: true,
4847
})
4948

5049
// Optional.

pkg/commands/ngwaf/workspace/iplist/create.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ func NewCreateCommand(parent argparser.Registerer, g *global.Data) *CreateComman
4545
Description: argparser.FlagNGWAFWorkspaceIDDesc,
4646
Dst: &c.workspaceID.Value,
4747
Action: c.workspaceID.Set,
48-
Required: true,
4948
})
5049

5150
// Optional.

pkg/commands/ngwaf/workspace/iplist/delete.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ func NewDeleteCommand(parent argparser.Registerer, g *global.Data) *DeleteComman
4141
Description: argparser.FlagNGWAFWorkspaceIDDesc,
4242
Dst: &c.workspaceID.Value,
4343
Action: c.workspaceID.Set,
44-
Required: true,
4544
})
4645

4746
// Optional.

pkg/commands/ngwaf/workspace/iplist/get.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ func NewGetCommand(parent argparser.Registerer, g *global.Data) *GetCommand {
4040
Description: argparser.FlagNGWAFWorkspaceIDDesc,
4141
Dst: &c.workspaceID.Value,
4242
Action: c.workspaceID.Set,
43-
Required: true,
4443
})
4544

4645
// Optional.

pkg/commands/ngwaf/workspace/iplist/list.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ func NewListCommand(parent argparser.Registerer, g *global.Data) *ListCommand {
4040
Description: argparser.FlagNGWAFWorkspaceIDDesc,
4141
Dst: &c.workspaceID.Value,
4242
Action: c.workspaceID.Set,
43-
Required: true,
4443
})
4544

4645
// Optional.

pkg/commands/ngwaf/workspace/iplist/update.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ func NewUpdateCommand(parent argparser.Registerer, g *global.Data) *UpdateComman
4444
Description: argparser.FlagNGWAFWorkspaceIDDesc,
4545
Dst: &c.workspaceID.Value,
4646
Action: c.workspaceID.Set,
47-
Required: true,
4847
})
4948

5049
// Optional.

0 commit comments

Comments
 (0)