diff options
Diffstat (limited to 'vid-app-common/src/main')
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/logging/ApacheClientMetricInterceptor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/logging/ApacheClientMetricInterceptor.java b/vid-app-common/src/main/java/org/onap/vid/logging/ApacheClientMetricInterceptor.java index f5b09501e..51e684456 100644 --- a/vid-app-common/src/main/java/org/onap/vid/logging/ApacheClientMetricInterceptor.java +++ b/vid-app-common/src/main/java/org/onap/vid/logging/ApacheClientMetricInterceptor.java @@ -51,7 +51,7 @@ public abstract class ApacheClientMetricInterceptor extends AbstractMetricLogFil @Override protected String getResponseCode(HttpResponse httpResponse) { - return httpResponse.getStatusLine().getReasonPhrase(); + return String.valueOf(httpResponse.getStatusLine().getStatusCode()); } @Override |