Skip to content

Commit

Permalink
Remove unneeded helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis committed May 19, 2021
1 parent 9b98b00 commit 2e4c2f1
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions api/v1alpha1/appgroup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,31 +337,3 @@ type ApplicationGroupList struct {
func init() {
SchemeBuilder.Register(&ApplicationGroup{}, &ApplicationGroupList{})
}

func (a *Release) DisableWaitForInstall() bool {
if a != nil && a.Install != nil {
return a.Install.DisableWait
}
return false
}

func (a *Release) DisableWaitForUpgrade() bool {
if a != nil && a.Upgrade != nil {
return a.Upgrade.DisableWait
}
return false
}

func (a *Release) DisableWaitForRollback() bool {
if a != nil && a.Rollback != nil {
return a.Rollback.DisableWait
}
return false
}

func (a *Release) ForceForUpgrade() bool {
if a != nil && a.Upgrade != nil {
return a.Upgrade.Force
}
return false
}

0 comments on commit 2e4c2f1

Please sign in to comment.