Skip to content

Commit

Permalink
Add X-Source-Tags to core AddMetadata headers list (#1329)
Browse files Browse the repository at this point in the history
Fixup to #1328 since it looks like we have this logic duplicated in core and in beam.
  • Loading branch information
jklukas authored Aug 3, 2020
1 parent 0893023 commit 8893264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class AddMetadata {

private static final String HEADER = "header";
private static final List<String> HEADER_ATTRIBUTES = ImmutableList //
.of(Attribute.DATE, Attribute.DNT, Attribute.X_PINGSENDER_VERSION, Attribute.X_DEBUG_ID,
.of(Attribute.DATE, Attribute.DNT, Attribute.X_DEBUG_ID, Attribute.X_PINGSENDER_VERSION,
Attribute.X_SOURCE_TAGS);

private static final List<String> URI_ATTRIBUTES = ImmutableList //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ private AddMetadata() {

private static final String HEADER = "header";
private static final List<String> HEADER_ATTRIBUTES = ImmutableList //
.of(Attribute.DATE, Attribute.DNT, Attribute.X_DEBUG_ID, Attribute.X_PINGSENDER_VERSION);
.of(Attribute.DATE, Attribute.DNT, Attribute.X_DEBUG_ID, Attribute.X_PINGSENDER_VERSION,
Attribute.X_SOURCE_TAGS);

private static final List<String> URI_ATTRIBUTES = ImmutableList //
.of(Attribute.URI, Attribute.APP_NAME, Attribute.APP_VERSION, Attribute.APP_UPDATE_CHANNEL,
Expand Down

0 comments on commit 8893264

Please sign in to comment.