Skip to content

Commit 7d4718b

Browse files
committed
Removed principal logging from sample to address #104
1 parent b8d468e commit 7d4718b

File tree

1 file changed

+0
-1
lines changed
  • samples/spring/pet-store/src/main/java/com/amazonaws/serverless/sample/spring

1 file changed

+0
-1
lines changed

samples/spring/pet-store/src/main/java/com/amazonaws/serverless/sample/spring/PetsController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public Pet createPet(@RequestBody Pet newPet) {
3737

3838
@RequestMapping(path = "/pets", method = RequestMethod.GET)
3939
public Pet[] listPets(@RequestParam("limit") Optional<Integer> limit, Principal principal) {
40-
System.out.println(principal.getName());
4140
int queryLimit = 10;
4241
if (limit.isPresent()) {
4342
queryLimit = limit.get();

0 commit comments

Comments
 (0)