From dc783e65189acee4f25739d459c238efde23badf Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 22 Apr 2025 07:32:05 +0200 Subject: [PATCH] typos --- README.md | 4 ++-- app/main.py | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d1367bd..43a5490 100644 --- a/README.md +++ b/README.md @@ -535,9 +535,9 @@ Status endpoint, used for *healthcheck*. Shows current runtime environment variables and their values. -**`GET /-/config/root-ca`** +**`GET /-/config/root-certificate`** -Returns the Root-CA Certificate which is used. This is required for patching `nvidia-gridd` on 18.x releases. +Returns the Root-Certificate Certificate which is used. This is required for patching `nvidia-gridd` on 18.x releases. **`GET /-/readme`** diff --git a/app/main.py b/app/main.py index 9099c34..b3c167c 100644 --- a/app/main.py +++ b/app/main.py @@ -151,10 +151,9 @@ async def _config(): return Response(content=json_dumps(response), media_type='application/json', status_code=200) - -@app.get('/-/config/root-ca', summary='* Root CA', description='returns Root-CA needed for patching nvidia-gridd') +@app.get('/-/config/root-certificate', summary='* Root Certificate', description='returns Root--Certificate needed for patching nvidia-gridd') async def _config(): - return Response(content=my_root_certificate.pem().decode('utf-8'), media_type='text/plain') + return Response(content=my_root_certificate.pem().decode('ascii'), media_type='text/plain') @app.get('/-/readme', summary='* Readme')