Skip to content

Commit

Permalink
v8(services): services cmd should use V3 API (#2137)
Browse files Browse the repository at this point in the history
Removes the V2 API implementation and replaces it with the V3
implementation

[#176843213](https://www.pivotaltracker.com/story/show/176843213)
  • Loading branch information
blgm authored Feb 11, 2021
1 parent 009f412 commit 74f19ac
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 765 deletions.
3 changes: 1 addition & 2 deletions command/common/command_list_v7.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ type commandList struct {
ServiceBrokers v7.ServiceBrokersCommand `command:"service-brokers" description:"List service brokers"`
ServiceKey v7.ServiceKeyCommand `command:"service-key" description:"Show service key info"`
ServiceKeys v7.ServiceKeysCommand `command:"service-keys" alias:"sk" description:"List keys for a service instance"`
Services v6.ServicesCommand `command:"services" alias:"s" description:"List all service instances in the target space"`
ServicesV3 v7.ServicesCommand `command:"v3-services" alias:"s" description:"List all service instances in the target space"`
Services v7.ServicesCommand `command:"services" alias:"s" description:"List all service instances in the target space"`
SetDroplet v7.SetDropletCommand `command:"set-droplet" description:"Set the droplet used to run an app"`
SetEnv v7.SetEnvCommand `command:"set-env" alias:"se" description:"Set an env variable for an app"`
SetHealthCheck v7.SetHealthCheckCommand `command:"set-health-check" description:"Change type of health check performed on an app's process"`
Expand Down
159 changes: 0 additions & 159 deletions command/v6/services_command.go

This file was deleted.

216 changes: 0 additions & 216 deletions command/v6/services_command_test.go

This file was deleted.

Loading

0 comments on commit 74f19ac

Please sign in to comment.