From 8a719ffe1f4b6956107e1dbbecf113fd01ba5110 Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Fri, 7 Feb 2020 15:08:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20guest=E5=88=9B=E5=BB=BA=E5=85=BC?= =?UTF-8?q?=E5=AE=B9keypair=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/apis/compute/api.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/apis/compute/api.go b/pkg/apis/compute/api.go index 376ff95e20..b73072cb4c 100644 --- a/pkg/apis/compute/api.go +++ b/pkg/apis/compute/api.go @@ -354,6 +354,9 @@ type ServerCreateInput struct { // required: false UserData string `json:"user_data"` + // swagger:ignore + Keypair string `json:"keypair" deprecated-by:"keypair_id"` + // 秘钥对Id // required: false KeypairId string `json:"keypair_id"`