Skip to content

Commit

Permalink
refactor(podorc): rename modules to podorc
Browse files Browse the repository at this point in the history
  • Loading branch information
brucetony committed Mar 25, 2024
1 parent a813b3f commit 70e84de
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gateway/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ async def inner(request: Request, response: Response, **kwargs):

response.status_code = status_code_from_service

if post_processing_func:
if post_processing_func: # all used pp functions found in post_processing
f = getattr(post_processing, post_processing_func)
resp_data = f(resp_data)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion gateway/routers/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from gateway.core import route
from gateway.models.hub import Project, AllProjects, ApprovalStatus, AnalysisOrProjectNode, ListAnalysisOrProjectNodes, \
AnalysisNode
from gateway.models.k8s import ImageDataResponse, ContainerResponse
from gateway.models.podorc import ImageDataResponse, ContainerResponse

hub_router = APIRouter(
dependencies=[Security(verify_idp_token), Depends(add_hub_jwt), Security(idp_oauth2_scheme_pass),
Expand Down

0 comments on commit 70e84de

Please sign in to comment.