Skip to content

Commit

Permalink
Drop deprecated swap command
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed May 2, 2024
1 parent 49fe5b7 commit 13673ef
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 257 deletions.
102 changes: 0 additions & 102 deletions tsuru/client/swap.go

This file was deleted.

147 changes: 0 additions & 147 deletions tsuru/client/swap_test.go

This file was deleted.

1 change: 0 additions & 1 deletion tsuru/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ Services aren’t managed by tsuru, but by their creators.`)
m.Register(&client.PluginRemove{})
m.Register(&client.PluginList{})
m.Register(&client.PluginBundle{})
m.Register(&client.AppSwap{})
m.Register(&client.AppDeploy{})
m.Register(&client.AppBuild{})
m.Register(&client.PlanList{})
Expand Down
7 changes: 0 additions & 7 deletions tsuru/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,6 @@ func (s *S) TestPlatformAddIsRegistered(c *check.C) {
c.Assert(plat, check.FitsTypeOf, &admin.PlatformAdd{})
}

func (s *S) TestAppSwapIsRegistered(c *check.C) {
manager = buildManager("tsuru")
cmd, ok := manager.Commands["app-swap"]
c.Assert(ok, check.Equals, true)
c.Assert(cmd, check.FitsTypeOf, &client.AppSwap{})
}

func (s *S) TestAppStartIsRegistered(c *check.C) {
manager = buildManager("tsuru")
start, ok := manager.Commands["app-start"]
Expand Down

0 comments on commit 13673ef

Please sign in to comment.