(plan v7pushaction.PushPlan)
| 652 | } |
| 653 | |
| 654 | func (cmd PushCommand) displayAppSummary(plan v7pushaction.PushPlan) error { |
| 655 | log.Info("getting application summary info") |
| 656 | summary, warnings, err := cmd.VersionActor.GetDetailedAppSummary( |
| 657 | plan.Application.Name, |
| 658 | cmd.Config.TargetedSpace().GUID, |
| 659 | true, |
| 660 | ) |
| 661 | cmd.UI.DisplayWarnings(warnings) |
| 662 | if err != nil { |
| 663 | return err |
| 664 | } |
| 665 | cmd.UI.DisplayNewline() |
| 666 | appSummaryDisplayer := shared.NewAppSummaryDisplayer(cmd.UI) |
| 667 | appSummaryDisplayer.AppDisplay(summary, true) |
| 668 | return nil |
| 669 | } |
| 670 | |
| 671 | func (cmd *PushCommand) eventStreamHandler(eventStream <-chan *v7pushaction.PushEvent) error { |
| 672 | for event := range eventStream { |
no test coverage detected