Skip to content

Commit e18b4ea

Browse files
cihangirbesiktasLuis Davim
authored and
Luis Davim
committed
some fixes applied to pass tests
1 parent e13d27d commit e18b4ea

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

application.go

-15
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ type Application struct {
6969
Executor *string `json:"executor,omitempty"`
7070
HealthChecks *[]HealthCheck `json:"healthChecks,omitempty"`
7171
ReadinessChecks *[]ReadinessCheck `json:"readinessChecks,omitempty"`
72-
Residency *Residency `json:"residency,omitempty"`
7372
Instances *int `json:"instances,omitempty"`
7473
Mem *float64 `json:"mem,omitempty"`
7574
Tasks []*Task `json:"tasks,omitempty"`
@@ -464,20 +463,6 @@ func (r *Application) EmptyReadinessChecks() *Application {
464463
return r
465464
}
466465

467-
// SetResidency sets the upgrade strategy.
468-
func (r *Application) SetResidency(us Residency) *Application {
469-
r.Residency = &us
470-
return r
471-
}
472-
473-
// EmptyResidency explicitly empties the residency -- use this if
474-
// you need to empty the residency of an application that already has
475-
// the residency set (setting it to nil will keep the current value).
476-
func (r *Application) EmptyResidency() *Application {
477-
r.Residency = &Residency{}
478-
return r
479-
}
480-
481466
// DeploymentIDs retrieves the application deployments IDs
482467
func (r *Application) DeploymentIDs() []*DeploymentID {
483468
var deployments []*DeploymentID

0 commit comments

Comments
 (0)