stdlib: Fix CustomResource metadata setting
The 'metadata' parameter was not being passed to the AbstractResource superclass. Change-Id: Id25d82baa2039c992645e6807a46e7c329520bb7 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/53086 Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu> Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -78,7 +78,7 @@ class CustomResource(AbstractResource):
|
||||
:param local_path: The path of the resource on the host system.
|
||||
:param metadata: Add metadata for the custom resource.
|
||||
"""
|
||||
super().__init__(local_path=local_path)
|
||||
super().__init__(local_path=local_path, metadata=metadata)
|
||||
|
||||
|
||||
class Resource(AbstractResource):
|
||||
|
||||
Reference in New Issue
Block a user