github.com/arunkumar7540/cli@v6.45.0+incompatible/actor/v7pushaction/set_droplet_for_application.go (about)

     1  package v7pushaction
     2  
     3  func (actor Actor) SetDropletForApplication(pushPlan PushPlan, eventStream chan<- Event, progressBar ProgressBar) (PushPlan, Warnings, error) {
     4  	eventStream <- SettingDroplet
     5  
     6  	warnings, err := actor.V7Actor.SetApplicationDroplet(pushPlan.Application.GUID, pushPlan.DropletGUID)
     7  	if err != nil {
     8  		return pushPlan, Warnings(warnings), err
     9  	}
    10  
    11  	eventStream <- SetDropletComplete
    12  
    13  	return pushPlan, Warnings(warnings), nil
    14  }