Skip to content

Commit e6f1571

Browse files
cihangirbesiktasLuis Davim
authored andcommitted
some fixes applied to pass tests
1 parent c832d8c commit e6f1571

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

application.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ type Application struct {
7171
Executor *string `json:"executor,omitempty"`
7272
HealthChecks *[]HealthCheck `json:"healthChecks,omitempty"`
7373
ReadinessChecks *[]ReadinessCheck `json:"readinessChecks,omitempty"`
74-
Residency *Residency `json:"residency,omitempty"`
7574
Instances *int `json:"instances,omitempty"`
7675
Mem *float64 `json:"mem,omitempty"`
7776
Tasks []*Task `json:"tasks,omitempty"`
@@ -466,20 +465,6 @@ func (r *Application) EmptyReadinessChecks() *Application {
466465
return r
467466
}
468467

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

0 commit comments

Comments
 (0)