Skip to content

Commit

Permalink
#2379 code clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjamakeev committed Apr 10, 2018
1 parent 606cde7 commit 4742fe5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -960,14 +960,6 @@ public void placeEnvironmentInfoByContainerId( final String environmentId, final
}


@Override
public void placeTokenToContainer( String environmentId, String containerIp, String token )
throws EnvironmentNotFoundException, ContainerHostNotFoundException, CommandException
{
environmentManager.placeTokenToContainer( environmentId, containerIp, token );
}


@Override
public String createTemplate( final String environmentId, final String containerId, final String templateName,
final boolean privateTemplate ) throws PeerException, EnvironmentNotFoundException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public Response issueToken( String containerIp )
}
catch ( TokenCreateException e )
{
return Response.status( Response.Status.UNAUTHORIZED ).build();
return Response.status( Response.Status.INTERNAL_SERVER_ERROR ).build();
}
}

Expand Down

0 comments on commit 4742fe5

Please sign in to comment.