Skip to content

Commit 96492f3

Browse files
authored
Update Data Lake service URL endpoint sample to use HTTPS (Azure#25654)
1 parent a09e433 commit 96492f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/storage/azure-storage-file-datalake/src/samples/java/com/azure/storage/file/datalake/AppendFlushExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void main(String[] args) throws IOException {
4141
* From the Azure portal, get your Storage account dfs service URL endpoint.
4242
* The URL typically looks like this:
4343
*/
44-
String endpoint = String.format(Locale.ROOT, "http://%s.dfs.core.windows.net", accountName);
44+
String endpoint = String.format(Locale.ROOT, "https://%s.dfs.core.windows.net", accountName);
4545

4646
/*
4747
* Create a DataLakeServiceClient object that wraps the service endpoint, credential and a request pipeline.

0 commit comments

Comments
 (0)