From 4d79b9612ebe81c341d0b51fdebf8152ba11249a Mon Sep 17 00:00:00 2001 From: tangbin Date: Tue, 18 Feb 2020 14:11:37 +0800 Subject: [PATCH] huawei elb backend vpc validate fix --- pkg/compute/regiondrivers/huawei.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/compute/regiondrivers/huawei.go b/pkg/compute/regiondrivers/huawei.go index 510762156b..4339a8a4e1 100644 --- a/pkg/compute/regiondrivers/huawei.go +++ b/pkg/compute/regiondrivers/huawei.go @@ -2583,3 +2583,7 @@ func (self *SHuaWeiRegionDriver) IsSupportedDBInstance() bool { func (self *SHuaWeiRegionDriver) IsSupportedElasticcache() bool { return true } + +func (self *SHuaWeiRegionDriver) GetBackendStatusForAdd() []string { + return []string{api.VM_RUNNING, api.VM_READY} +}