We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f2bdd01 + a7c15a8 commit cd5c8c5Copy full SHA for cd5c8c5
docker/utils/decorators.py
@@ -1,7 +1,10 @@
1
+from functools import wraps
2
from .. import errors
3
4
5
def check_resource(f):
6
+
7
+ @wraps(f)
8
def wrapped(self, resource_id=None, *args, **kwargs):
9
if resource_id is None:
10
if kwargs.get('container'):
0 commit comments