Compare commits

..

No commits in common. "835823858bb9028b4027161b39311a2b31281b1c" and "01fe142850550b2657805f77abbe0d5ee76d2c03" have entirely different histories.

3 changed files with 2 additions and 3 deletions

View File

@ -491,7 +491,7 @@ async def leasing_v1_lessor_lease_remove(request: Request):
@app.post('/leasing/v1/lessor/shutdown', description='shutdown all leases')
async def leasing_v1_lessor_shutdown(request: Request):
j, cur_time = json.loads((await request.body()).decode('utf-8')), datetime.utcnow()
j, cur_time = json.loads((await request.body()).decode('utf-8'))
token = j.get('token')
token = jwt.decode(token=token, key=jwt_decode_key, algorithms=ALGORITHMS.RS256, options={'verify_aud': False})

View File

@ -34,7 +34,6 @@ nvidia-gridd[2986]: License acquired successfully. (Info: license.nvidia.space,
Most variables and configs are stored in `/var/lib/docker/volumes/configurations/_data`.
Files can be modified with `docker cp <container-id>:/venv/... /opt/localfile/...` and back.
(May you need to fix permissions with `docker exec -u 0 <container-id> chown nonroot:nonroot /venv/...`)
## Dive / Docker image inspector

View File

@ -50,7 +50,7 @@ def test_health():
def test_config():
response = client.get('/-/config')
response = client.get('/-/')
assert response.status_code == 200