Skip to content

Commit 63f2554

Browse files
committed
Prep load to handle missing resources
1 parent 4850923 commit 63f2554

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

f5/bigip/resource.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,3 +1013,7 @@ def modify(self, **kwargs):
10131013
raise UnsupportedMethod(
10141014
"%s does not support the modify method" % self.__class__.__name__
10151015
)
1016+
1017+
def load(self, **kwargs):
1018+
# TODO(pjbreaux) add try-except and custom exception here.
1019+
return super(Stats, self).load(**kwargs)

0 commit comments

Comments
 (0)