Skip to content

Commit 0bbd9e7

Browse files
author
Anirav Kareddy
committed
Changed INSTRUCTION_FILE_SUFFIX to DEFAULT_INSTRUCTION_FILE_SUFFIX
1 parent 5298412 commit 0bbd9e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/software/amazon/encryption/s3/internal/ContentMetadataDecodingStrategy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import java.util.Map;
2626
import java.util.concurrent.CompletionException;
2727

28-
import static software.amazon.encryption.s3.S3EncryptionClientUtilities.INSTRUCTION_FILE_SUFFIX;
28+
import static software.amazon.encryption.s3.S3EncryptionClientUtilities.DEFAULT_INSTRUCTION_FILE_SUFFIX;
2929

3030
public class ContentMetadataDecodingStrategy {
3131

@@ -227,7 +227,7 @@ private ContentMetadata decodeFromObjectMetadata(GetObjectRequest request, GetOb
227227
private ContentMetadata decodeFromInstructionFile(GetObjectRequest request, GetObjectResponse response) {
228228
String instructionFileSuffix = request.overrideConfiguration()
229229
.flatMap(config -> config.executionAttributes().getOptionalAttribute(S3EncryptionClient.CUSTOM_INSTRUCTION_FILE_SUFFIX))
230-
.orElse(INSTRUCTION_FILE_SUFFIX);
230+
.orElse(DEFAULT_INSTRUCTION_FILE_SUFFIX);
231231

232232
GetObjectRequest instructionGetObjectRequest = GetObjectRequest.builder()
233233
.bucket(request.bucket())

0 commit comments

Comments
 (0)