From c75eada189f26b08a9d536c6aac5b6f6aa91ddbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wenkai=20Yin=28=E5=B0=B9=E6=96=87=E5=BC=80=29?= Date: Mon, 18 Dec 2023 13:47:38 +0800 Subject: [PATCH] Bug fix: validate the subscription ID when initing the plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug fix: validate the subscription ID when initing the plugin Signed-off-by: Wenkai Yin(尹文开) --- velero-plugin-for-microsoft-azure/volume_snapshotter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/velero-plugin-for-microsoft-azure/volume_snapshotter.go b/velero-plugin-for-microsoft-azure/volume_snapshotter.go index 37a0bba..ae9d5ed 100644 --- a/velero-plugin-for-microsoft-azure/volume_snapshotter.go +++ b/velero-plugin-for-microsoft-azure/volume_snapshotter.go @@ -89,7 +89,7 @@ func (b *VolumeSnapshotter) Init(config map[string]string) error { if err := veleroplugin.ValidateVolumeSnapshotterConfigKeys(config, vslConfigKeyResourceGroup, vslConfigKeyAPITimeout, - vslConfigKeyResourceGroup, + vslConfigKeySubscriptionID, vslConfigKeyIncremental, vslConfigKeyTags, credentialsFileConfigKey,