Skip to content

Commit 558bf92

Browse files
committed
Removed github auth requirements in development mode
Signed-off-by: AyishikD <[email protected]>
1 parent 77059e6 commit 558bf92

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/teuthology_api/services/kill.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def run(args, send_logs: bool, access_token: str, request: Request):
3333
# TODO if user has admin privilege, then they can kill any run/job.
3434
if run_owner.lower() != username.lower():
3535
log.error(
36-
"%s doesn't have permission to kill a job scheduled by: %s",
36+
"%s doesn't have permission to kill a job scheduled by: %s",
3737
username,
3838
run_owner,
3939
)
@@ -60,5 +60,4 @@ def run(args, send_logs: bool, access_token: str, request: Request):
6060
return {"kill": "success"}
6161
except Exception as exc:
6262
log.error("teuthology-kill command failed with the error: %s", repr(exc))
63-
raise HTTPException(status_code=500, detail=repr(exc)) from exc
64-
63+
raise HTTPException(status_code=500, detail=repr(exc)) from exc

0 commit comments

Comments
 (0)