-
Notifications
You must be signed in to change notification settings - Fork 3.9k
core: Use hard-coded string for version #3858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -194,7 +194,7 @@ public byte[] parseAsciiString(byte[] serialized) { | |
|
|
||
| public static final Splitter ACCEPT_ENCODING_SPLITTER = Splitter.on(',').trimResults(); | ||
|
|
||
| private static final String IMPLEMENTATION_VERSION = getImplementationVersion(); | ||
| private static final String IMPLEMENTATION_VERSION = "1.9.0-SNAPSHOT"; // CURRENT_GRPC_VERSION | ||
|
|
||
| /** | ||
| * The default delay in nanos before we send a keepalive. | ||
|
|
@@ -736,12 +736,4 @@ static <T> boolean iterableContains(Iterable<T> iterable, T item) { | |
| } | ||
|
|
||
| private GrpcUtil() {} | ||
|
|
||
| private static String getImplementationVersion() { | ||
| String version = GrpcUtil.class.getPackage().getImplementationVersion(); | ||
| if (version != null) { | ||
| return "/" + version; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing
https://github.com/grpc/grpc/blob/v1.8.4/doc/PROTOCOL-HTTP2.md#user-agents
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😢 Sent out #3974 |
||
| } | ||
| return ""; | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
according to
Package, the version needs to be numerics and dots, no snapshot version.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the implication?