Skip to content

Commit c3f5274

Browse files
committed
Correct spelling
1 parent b5a907c commit c3f5274

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Elasticsearch.Net/Responses/ElasticsearchResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public class ElasticsearchResponse<T> : IApiCallDetails
7575
public bool SuccessOrKnownError =>
7676
this.Success || (HttpStatusCode >= 400 && HttpStatusCode < 599
7777
&& HttpStatusCode != 503 //service unavailable needs to be retried
78-
&& HttpStatusCode != 502 //bad gateway needs to be retried
78+
&& HttpStatusCode != 502 //bad gateway needs to be retried
7979
);
8080

8181
public Exception OriginalException { get; protected internal set; }
@@ -104,6 +104,6 @@ public string DebugInformation
104104
}
105105
}
106106

107-
public override string ToString() => $"{(Success ? "S" : "Uns")}uccesful low level call on {HttpMethod.GetStringValue()}: {Uri.PathAndQuery}";
107+
public override string ToString() => $"{(Success ? "S" : "Uns")}uccessful low level call on {HttpMethod.GetStringValue()}: {Uri.PathAndQuery}";
108108
}
109109
}

0 commit comments

Comments
 (0)