From ccaf783502445d57ea60e39550dc299a7cf875b3 Mon Sep 17 00:00:00 2001
From: Aris van Ommeren <avommeren@vxcompany.com>
Date: Tue, 22 Dec 2020 10:42:47 +0100
Subject: [PATCH] Fix after rebase

---
 .../recoveryservices/backup_protected_file_share_resource.go     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/azurerm/internal/services/recoveryservices/backup_protected_file_share_resource.go b/azurerm/internal/services/recoveryservices/backup_protected_file_share_resource.go
index 6ce3299f38f4..16250455cda1 100644
--- a/azurerm/internal/services/recoveryservices/backup_protected_file_share_resource.go
+++ b/azurerm/internal/services/recoveryservices/backup_protected_file_share_resource.go
@@ -71,6 +71,7 @@ func resourceBackupProtectedFileShare() *schema.Resource {
 }
 
 func resourceBackupProtectedFileShareCreateUpdate(d *schema.ResourceData, meta interface{}) error {
+	protectedClient := meta.(*clients.Client).RecoveryServices.ProtectedItemsGroupClient
 	protectableClient := meta.(*clients.Client).RecoveryServices.ProtectableItemsClient
 	client := meta.(*clients.Client).RecoveryServices.ProtectedItemsClient
 	opClient := meta.(*clients.Client).RecoveryServices.BackupOperationStatusesClient