Skip to content

Commit

Permalink
Modify variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Sooraj Sinha <soosinha@amazon.com>
  • Loading branch information
soosinha committed Jun 17, 2024
1 parent e7bc511 commit ac465ba
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,19 +130,19 @@ public CheckedRunnable<IOException> getAsyncMetadataReadAction(
public DiffableUtils.MapDiff<String, ClusterState.Custom, Map<String, ClusterState.Custom>> getUpdatedCustoms(
ClusterState clusterState,
ClusterState previousClusterState,
boolean isWriteFull,
boolean firstUploadForEphemeralMetadata
boolean isRemotePublicationEnabled,
boolean isFirstUpload
) {
if (!isWriteFull) {
// When isWriteFull is false, we do not want store any custom objects
if (!isRemotePublicationEnabled) {
// When isRemotePublicationEnabled is false, we do not want store any custom objects
return DiffableUtils.diff(
Collections.emptyMap(),
Collections.emptyMap(),
DiffableUtils.getStringKeySerializer(),
NonDiffableValueSerializer.getAbstractInstance()
);
}
if (firstUploadForEphemeralMetadata) {
if (isFirstUpload) {
// For first upload of ephemeral metadata, we want to upload all customs
return DiffableUtils.diff(
Collections.emptyMap(),
Expand Down

0 comments on commit ac465ba

Please sign in to comment.