Skip to content

Commit 7e60a81

Browse files
tsegismontJohn Sanda
authored andcommitted
Minor, local variable renamed
1 parent 61799c4 commit 7e60a81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/handler/TenantsHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ public void createTenant(
8383
asyncResponse.resume(response);
8484
return;
8585
}
86-
URI created = uriInfo.getBaseUriBuilder().path("/tenants").build();
87-
metricsService.createTenant(params).subscribe(new TenantCreatedObserver(asyncResponse, created));
86+
URI location = uriInfo.getBaseUriBuilder().path("/tenants").build();
87+
metricsService.createTenant(params).subscribe(new TenantCreatedObserver(asyncResponse, location));
8888
}
8989

9090
@GET

0 commit comments

Comments
 (0)