Explorar o código

HUE-8473 [cluster] Rename connector to remote SQL clusters

Romain Rigaux %!s(int64=7) %!d(string=hai) anos
pai
achega
b6cdda3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/libs/notebook/src/notebook/connectors/base.py

+ 1 - 1
desktop/libs/notebook/src/notebook/connectors/base.py

@@ -309,7 +309,7 @@ def get_api(request, snippet):
     cluster = None
   if not cluster and snippet.get('compute'): # Via notebook.ko.js
     cluster = snippet.get('compute').get('id')
-  if cluster and 'crn:altus:analyticdb:' in cluster:
+  if cluster and 'crn:altus:dataware:' in cluster:
     interface = 'altus-adb'
   if cluster:
     LOG.info('Selected cluster %s' % cluster)