소스 검색

HUE-6225 [metadata] Avoid string formatting error as variable is a list

Romain Rigaux 8 년 전
부모
커밋
2b8d58c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/libs/metadata/src/metadata/navigator_client.py

+ 1 - 1
desktop/libs/metadata/src/metadata/navigator_client.py

@@ -53,7 +53,7 @@ def get_cluster_source_ids(api):
     CLUSTER_SOURCE_IDS = ''
     if get_navigator_hue_server_name():
       sources = api.get_cluster_source_ids()
-      LOG.info('Navigator cluster source ids: %s' % sources)
+      LOG.info('Navigator cluster source ids: %s' % (sources,))
       if sources:
         # Sometimes sourceId seems to be missing
         source_ids = ['sourceId:%s' % _id.get('sourceId') or _id.get('identity') for _id in sources]