[FIX] fix app status is unknow bug where service can not be delete

This commit is contained in:
barnett 2018-12-13 15:28:26 +08:00
parent d8268e78c2
commit 2dc7da7878

View File

@ -28,7 +28,7 @@ import (
//IsEmpty is empty
func (a *AppService) IsEmpty() bool {
empty := len(a.pods) == 0 && len(a.services) == 0 && len(a.secrets) == 0 && len(a.configMaps) == 0
empty := len(a.pods) == 0
return empty
}