Skip to content

Conversation

c24t
Copy link
Owner

@c24t c24t commented Feb 22, 2019

No description provided.

@@ -86,4 +86,4 @@ def get_instance():

if not resources:
return None
return resource.merge_resources(resources)
return resource.merge_resources(resources[0], *resources[1:])
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's not really a beautiful way to do this here since any of the resources could be null.

@c24t c24t force-pushed the better-resource-detection branch from 5634048 to a31fdbb Compare March 8, 2019 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant