Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
magodo committed Jan 9, 2025
1 parent 5f8959a commit 62cba2d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
36 changes: 18 additions & 18 deletions internal/services/storage/storage_share_directory_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (r StorageShareDirectoryResource) basic(data acceptance.TestData) string {
%s
resource "azurerm_storage_share_directory" "test" {
name = "dir"
name = "dir"
storage_share_url = azurerm_storage_share.test.url
}
`, template)
Expand All @@ -210,13 +210,13 @@ resource "azurerm_storage_account" "test" {
}
resource "azurerm_storage_share" "test" {
name = "fileshare"
storage_account_id = azurerm_storage_account.test.id
quota = 50
name = "fileshare"
storage_account_id = azurerm_storage_account.test.id
quota = 50
}
resource "azurerm_storage_share_directory" "test" {
name = "dir"
name = "dir"
storage_share_url = azurerm_storage_share.test.url
}
`, data.RandomInteger, data.Locations.Primary, data.RandomString)
Expand All @@ -228,7 +228,7 @@ func (r StorageShareDirectoryResource) uppercase(data acceptance.TestData) strin
%s
resource "azurerm_storage_share_directory" "test" {
name = "UpperCaseCharacterS"
name = "UpperCaseCharacterS"
storage_share_url = azurerm_storage_share.test.url
}
`, template)
Expand All @@ -240,7 +240,7 @@ func (r StorageShareDirectoryResource) requiresImport(data acceptance.TestData)
%s
resource "azurerm_storage_share_directory" "import" {
name = azurerm_storage_share_directory.test.name
name = azurerm_storage_share_directory.test.name
storage_share_url = azurerm_storage_share.test.url
}
`, template)
Expand All @@ -252,7 +252,7 @@ func (r StorageShareDirectoryResource) complete(data acceptance.TestData) string
%s
resource "azurerm_storage_share_directory" "test" {
name = "dir"
name = "dir"
storage_share_url = azurerm_storage_share.test.url
metadata = {
Expand All @@ -268,7 +268,7 @@ func (r StorageShareDirectoryResource) updated(data acceptance.TestData) string
%s
resource "azurerm_storage_share_directory" "test" {
name = "dir"
name = "dir"
storage_share_url = azurerm_storage_share.test.url
metadata = {
Expand All @@ -285,22 +285,22 @@ func (r StorageShareDirectoryResource) nested(data acceptance.TestData) string {
%s
resource "azurerm_storage_share_directory" "parent" {
name = "123--parent-dir"
name = "123--parent-dir"
storage_share_url = azurerm_storage_share.test.url
}
resource "azurerm_storage_share_directory" "child_one" {
name = "${azurerm_storage_share_directory.parent.name}/child1"
name = "${azurerm_storage_share_directory.parent.name}/child1"
storage_share_url = azurerm_storage_share.test.url
}
resource "azurerm_storage_share_directory" "child_two" {
name = "${azurerm_storage_share_directory.child_one.name}/childtwo--123"
name = "${azurerm_storage_share_directory.child_one.name}/childtwo--123"
storage_share_url = azurerm_storage_share.test.url
}
resource "azurerm_storage_share_directory" "multiple_child_one" {
name = "${azurerm_storage_share_directory.parent.name}/c"
name = "${azurerm_storage_share_directory.parent.name}/c"
storage_share_url = azurerm_storage_share.test.url
}
`, template)
Expand All @@ -312,14 +312,14 @@ func (r StorageShareDirectoryResource) nestedWithBackslashes(data acceptance.Tes
%s
resource "azurerm_storage_share_directory" "c" {
name = "c"
name = "c"
storage_share_url = azurerm_storage_share.test.url
}
resource "azurerm_storage_share_directory" "dos" {
name = "c\\dos"
name = "c\\dos"
storage_share_url = azurerm_storage_share.test.url
depends_on = [azurerm_storage_share_directory.c]
depends_on = [azurerm_storage_share_directory.c]
}
`, template)
}
Expand All @@ -344,9 +344,9 @@ resource "azurerm_storage_account" "test" {
}
resource "azurerm_storage_share" "test" {
name = "fileshare"
name = "fileshare"
storage_account_id = azurerm_storage_account.test.id
quota = 50
quota = 50
}
`, data.RandomInteger, data.Locations.Primary, data.RandomString)
}
6 changes: 3 additions & 3 deletions website/docs/r/storage_share_directory.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ resource "azurerm_storage_account" "example" {
}
resource "azurerm_storage_share" "example" {
name = "sharename"
name = "sharename"
storage_account_id = azurerm_storage_account.example.id
quota = 50
quota = 50
}
resource "azurerm_storage_share_directory" "example" {
name = "example"
name = "example"
storage_share_url = azurerm_storage_share.example.url
}
```
Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/storage_share_file.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ resource "azurerm_storage_account" "example" {
}
resource "azurerm_storage_share" "example" {
name = "sharename"
storage_account_id = azurerm_storage_account.example.id
quota = 50
name = "sharename"
storage_account_id = azurerm_storage_account.example.id
quota = 50
}
resource "azurerm_storage_share_file" "example" {
Expand Down

0 comments on commit 62cba2d

Please sign in to comment.