Skip to content

Commit

Permalink
some fixes applied to pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cihangirbesiktas authored and Luis Davim committed Feb 12, 2018
1 parent 90315ef commit d9be5c2
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions application.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,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"`
Expand Down Expand Up @@ -464,20 +463,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
Expand Down

0 comments on commit d9be5c2

Please sign in to comment.