(config command.Config, ui command.UI)
| 30 | type ActualActorReloader struct{} |
| 31 | |
| 32 | func (a ActualActorReloader) Reload(config command.Config, ui command.UI) (Actor, error) { |
| 33 | ccClient, uaaClient, routingClient, err := shared.GetNewClientsAndConnectToCF(config, ui, "") |
| 34 | if err != nil { |
| 35 | return nil, err |
| 36 | } |
| 37 | |
| 38 | return v7action.NewActor(ccClient, config, nil, uaaClient, routingClient, clock.NewClock()), nil |
| 39 | } |
| 40 | |
| 41 | const maxLoginTries = 3 |
| 42 |
nothing calls this directly
no test coverage detected