mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 22:23:13 +08:00
[kubernetes][operator][hotfix] Dictionary fix (#13663)
This commit is contained in:
@@ -95,4 +95,7 @@ def get_cluster_owner_reference(
|
||||
|
||||
def translate(configuration: Dict[str, Any],
|
||||
dictionary: Dict[str, str]) -> Dict[str, Any]:
|
||||
return {dictionary[field]: configuration[field] for field in dictionary}
|
||||
return {
|
||||
dictionary[field]: configuration[field]
|
||||
for field in dictionary if field in configuration
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user