Skip to content

Commit

Permalink
fix operator
Browse files Browse the repository at this point in the history
  • Loading branch information
winklermichael committed Jun 20, 2024
1 parent f0d2237 commit ae8ef7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions operator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import os
import sys
import logging
import uuid
import hashlib
import uuid

# Define the required environment variables
REQUIRED_ENV_VARS = [
Expand Down Expand Up @@ -83,7 +83,7 @@ def create_training_job():
# Fetch authorization-header
auth_header = request.headers.get("x-auth-request-user")
auth_header_hash = _sha1(auth_header)
random_uuid = str(uuid.uuid4())
random_uuid = str(uuid.uuid4())[:10]

# Check if the Job already exists and is in a running state
try:
Expand Down

0 comments on commit ae8ef7a

Please sign in to comment.