Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try using *args in merge #1

Open
wants to merge 1 commit into
base: better-resource-detection
Choose a base branch
from

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