From 2ce7a52e2889f956b55b67ec46cc506756f11315 Mon Sep 17 00:00:00 2001 From: Zexi Li Date: Mon, 17 Jan 2022 14:49:14 +0800 Subject: [PATCH] fix(region): create wire input bw deprecated --- pkg/apis/compute/wire.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/apis/compute/wire.go b/pkg/apis/compute/wire.go index 44a10c7f50..b7ba979abe 100644 --- a/pkg/apis/compute/wire.go +++ b/pkg/apis/compute/wire.go @@ -23,6 +23,9 @@ type WireCreateInput struct { // default: 0 Bandwidth int `json:"bandwidth"` + // Deprecated + Bw int `json:"bw" yunion-deprecated-by:"bandwidth"` + // mtu // minimum: 0 // maximum: 1000000