MCPcopy
hub / github.com/cloudfoundry/cli / Setup

Method Setup

command/v7/rollback_command.go:35–43  ·  view source on GitHub ↗
(config command.Config, ui command.UI)

Source from the content-addressed store, hash-verified

33}
34
35func (cmd *RollbackCommand) Setup(config command.Config, ui command.UI) error {
36 err := cmd.BaseCommand.Setup(config, ui)
37 if err != nil {
38 return err
39 }
40
41 cmd.Stager = shared.NewAppStager(cmd.Actor, cmd.UI, cmd.Config, cmd.LogCacheClient)
42 return nil
43}
44
45func (cmd RollbackCommand) Execute(args []string) error {
46 targetRevision := int(cmd.Version.Value)

Callers

nothing calls this directly

Calls 2

NewAppStagerFunction · 0.92
SetupMethod · 0.65

Tested by

no test coverage detected