Skip to content

Commit bb08ffd

Browse files
authored
Fix code comment (#5886)
1 parent 27b662b commit bb08ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elasticsearch.Net/Transport/Pipeline/RequestPipeline.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ static bool TagLineOrBuildFlavorInvalid(Version version, RootResponse response)
744744
|| !ExpectedTagLine.Equals(response.Tagline, StringComparison.Ordinal));
745745
}
746746

747-
// Between v7.0.0 and 7.13.99, we expect the tagline and build flavor to match expected values
747+
// After v7.14.0 we expect the product header to be present and include the expected product name
748748
static bool Version714InvalidHeader(Version version, string productName)
749749
{
750750
return version >= Version714 && !ExpectedProductName.Equals(productName, StringComparison.Ordinal);

0 commit comments

Comments
 (0)