コード例 #1
0
ファイル: docker.go プロジェクト: prodigeni/tsuru
func usePlatformImage(app provision.App) bool {
	deploys := app.GetDeploys()
	if deploys != 0 && deploys%20 == 0 {
		return true
	}
	return false
}
コード例 #2
0
ファイル: flatten.go プロジェクト: pombredanne/tsuru
func needsFlatten(a provision.App) bool {
	deploys := a.GetDeploys()
	if deploys != 0 && deploys%20 == 0 {
		return true
	}
	return false
}