cleanup some unused code and minor refactors (#1274)

Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
Felipe Galindo Sanchez
2022-05-16 02:38:32 -07:00
committed by GitHub
parent bf45aa9f6b
commit 78c01fd31d
5 changed files with 6 additions and 16 deletions

View File

@@ -15,10 +15,6 @@ func (autoscaler *HorizontalRunnerAutoscalerGitHubWebhook) MatchPushEvent(event
push := g.Push
if push == nil {
return false
}
return true
return push != nil
}
}