Skip to content

Commit c5a3e04

Browse files
authored
Merge pull request #108110 from lanicolas/patch-50
Align Bash style guide
2 parents 959fd3e + 41808ac commit c5a3e04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/storage/files/files-troubleshoot.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ IP4Address : 10.0.0.5
130130
# Different storage accounts, especially in different Azure environments,
131131
# may have different suffixes than file.core.windows.net, so be sure to use the correct
132132
# suffix for your storage account.
133-
hostName="mystorageaccount.file.core.windows.net"
133+
HOSTNAME="mystorageaccount.file.core.windows.net"
134134

135135
# Do the name resolution.
136-
nslookup $hostName
136+
nslookup $HOSTNAME
137137
```
138138

139139
The output returned by `nslookup` may be different depending on your environment and desired networking configuration. For example, if you are trying to access the public endpoint of the storage account that does not have a private endpoint configured, you would see a result that looks like the following, where `x.x.x.x` is the IP address of the cluster `file.phx10prdstf01a.store.core.windows.net` of the Azure storage platform that serves your storage account:
@@ -207,11 +207,11 @@ TcpTestSucceeded : True
207207
# Different storage accounts, especially in different Azure environments,
208208
# may have different suffixes than file.core.windows.net, so be sure to use the correct
209209
# suffix for your storage account.
210-
hostName="mystorageaccount.file.core.windows.net"
210+
HOSTNAME="mystorageaccount.file.core.windows.net"
211211

212212
# Do the TCP connection test - see the above protocol/port table to figure out which
213213
# port to use for your test. This test uses port 445, the port used by SMB.
214-
nc -zvw3 $hostName 445
214+
nc -zvw3 $HOSTNAME 445
215215
```
216216

217217
If the connection was successfully established, you should expect to see the following result:

0 commit comments

Comments
 (0)