diff --git a/application.go b/application.go index df1d298..958781f 100644 --- a/application.go +++ b/application.go @@ -71,7 +71,6 @@ type Application struct { Executor *string `json:"executor,omitempty"` HealthChecks *[]HealthCheck `json:"healthChecks,omitempty"` ReadinessChecks *[]ReadinessCheck `json:"readinessChecks,omitempty"` - Residency *Residency `json:"residency,omitempty"` Instances *int `json:"instances,omitempty"` Mem *float64 `json:"mem,omitempty"` Tasks []*Task `json:"tasks,omitempty"` @@ -466,20 +465,6 @@ func (r *Application) EmptyReadinessChecks() *Application { return r } -// SetResidency sets the upgrade strategy. -func (r *Application) SetResidency(us Residency) *Application { - r.Residency = &us - return r -} - -// EmptyResidency explicitly empties the residency -- use this if -// you need to empty the residency of an application that already has -// the residency set (setting it to nil will keep the current value). -func (r *Application) EmptyResidency() *Application { - r.Residency = &Residency{} - return r -} - // DeploymentIDs retrieves the application deployments IDs func (r *Application) DeploymentIDs() []*DeploymentID { var deployments []*DeploymentID