Skip to content

Commit 681fa71

Browse files
Greg Dubickigdubicki
Greg Dubicki
authored andcommitted
Fix: correct method name
- a bug found when testing this version of the pypuppet code with a current version of Puppetboard (v3.0.0).
1 parent 39593fe commit 681fa71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypuppetdb/types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __str__(self):
8282
return str('{0}').format(self.__string)
8383

8484
@staticmethod
85-
def get_from_dict(event):
85+
def create_from_dict(event):
8686
return Event(
8787
node=event['certname'],
8888
status=event['status'],

0 commit comments

Comments
 (0)