Skip to content

Commit c85cb1e

Browse files
committed
Merge branch 'develop' of github.com:MetaCell/cloud-harness into develop
2 parents 86c7bd7 + 30366e5 commit c85cb1e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

  • applications/jupyterhub/src/harness_jupyter/harness_jupyter
  • libraries/cloudharness-common/cloudharness/auth

applications/jupyterhub/src/harness_jupyter/harness_jupyter/jupyterhub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def harness_hub():
4040
KubeSpawner.get_pod_manifest_base = KubeSpawner.get_pod_manifest
4141
KubeSpawner.get_pod_manifest = spawner_pod_manifest
4242
# to skip the profile selection form enable the line below
43-
KubeSpawner.options_form = custom_options_form
43+
# KubeSpawner.options_form = custom_options_form
4444
KubeSpawner.get_pvc_manifest_base = KubeSpawner.get_pvc_manifest
4545
KubeSpawner.get_pvc_manifest = spawner_pvc_manifest
4646

libraries/cloudharness-common/cloudharness/auth/keycloak.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ def get_token(username, password):
8787

8888
def is_uuid(s):
8989
import uuid
90+
if not s:
91+
return False
92+
if type(s) == uuid.UUID:
93+
return True
9094
try:
9195
uuid.UUID(s)
9296
return True

0 commit comments

Comments
 (0)