Skip to content

Commit

Permalink
Fix lint error.
Browse files Browse the repository at this point in the history
Signed-off-by: Ye Cao <[email protected]>
  • Loading branch information
dashanji committed Jan 11, 2024
1 parent 6c51c72 commit 224c314
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/graphscope/deploy/kubernetes/resource_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ def get_image_pull_secrets(image_pull_secrets):
def get_node_selector(node_selector):
import base64
import json
decoded_node_selector = base64.b64decode(node_selector).decode("utf-8", errors="ignore")

decoded_node_selector = base64.b64decode(node_selector).decode(
"utf-8", errors="ignore"
)
return json.loads(decoded_node_selector)

@staticmethod
Expand Down

0 comments on commit 224c314

Please sign in to comment.