From 378ba9bf04f885525094e57380c711960dadc4a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=88=E8=BD=A9?= Date: Mon, 18 Feb 2019 10:23:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/compute/models/storages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compute/models/storages.go b/pkg/compute/models/storages.go index bf19938667..b813cdfac7 100644 --- a/pkg/compute/models/storages.go +++ b/pkg/compute/models/storages.go @@ -147,7 +147,7 @@ func (self *SStorage) AllowUpdateItem(ctx context.Context, userCred mcclient.Tok } func (self *SStorage) PostUpdate(ctx context.Context, userCred mcclient.TokenCredential, query jsonutils.JSONObject, data jsonutils.JSONObject) { - self.SEnabledStatusStandaloneResourceBase.PostUpdate(ctx, userCred, query, data) + self.SStandaloneResourceBase.PostUpdate(ctx, userCred, query, data) if data.Contains("cmtbound") { hosts := self.GetAttachedHosts()