Skip to content

Commit

Permalink
revert of namespace checking
Browse files Browse the repository at this point in the history
  • Loading branch information
saxenapranav committed Apr 19, 2024
1 parent 1536675 commit d3cb3a1
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,13 @@ public void initialize(URI uri, Configuration configuration)
}
}

if (!getIsNamespaceEnabled(
new TracingContext(clientCorrelationId, fileSystemId,
FSOperationType.GET_FILESTATUS, tracingHeaderFormat, listener)) && (
if ((
abfsConfiguration.createEncryptionContextProvider() != null
|| StringUtils.isNotEmpty(
abfsConfiguration.getEncodedClientProvidedEncryptionKey()))) {
abfsConfiguration.getEncodedClientProvidedEncryptionKey()))
&& !getIsNamespaceEnabled(
new TracingContext(clientCorrelationId, fileSystemId,
FSOperationType.GET_FILESTATUS, tracingHeaderFormat, listener))) {
close();
throw new PathIOException(uri.getPath(),
"Non HNS account can not have CPK configs enabled.");
Expand Down

0 comments on commit d3cb3a1

Please sign in to comment.