Skip to content

Commit 1d429ed

Browse files
committed
review changes
1 parent 642ed2e commit 1d429ed

File tree

1 file changed

+1
-1
lines changed
  • internal/cmd/routingtable/list

1 file changed

+1
-1
lines changed

internal/cmd/routingtable/list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func parseInput(p *print.Printer, cmd *cobra.Command, _ []string) (*inputModel,
126126
func buildRequest(ctx context.Context, model *inputModel, apiClient *iaas.APIClient) iaas.ApiListRoutingTablesOfAreaRequest {
127127
request := apiClient.ListRoutingTablesOfArea(ctx, model.OrganizationId, model.NetworkAreaId, model.Region)
128128
if model.LabelSelector != nil {
129-
request.LabelSelector(*model.LabelSelector)
129+
request = request.LabelSelector(*model.LabelSelector)
130130
}
131131

132132
return request

0 commit comments

Comments
 (0)