diff --git a/platypush/message/event/linode.py b/platypush/message/event/linode.py index 7da9290d7..cd2198d14 100644 --- a/platypush/message/event/linode.py +++ b/platypush/message/event/linode.py @@ -18,7 +18,7 @@ class LinodeInstanceStatusChanged(LinodeEvent): self, *args, instance_id: int, - instance: str, + instance_name: str, status: str, old_status: Optional[str] = None, **kwargs @@ -32,7 +32,7 @@ class LinodeInstanceStatusChanged(LinodeEvent): super().__init__( *args, instance_id=instance_id, - instance=instance, + instance_name=instance_name, status=status, old_status=old_status, **kwargs diff --git a/platypush/plugins/linode/__init__.py b/platypush/plugins/linode/__init__.py index 1c38ca1b3..ff2a48762 100644 --- a/platypush/plugins/linode/__init__.py +++ b/platypush/plugins/linode/__init__.py @@ -118,7 +118,7 @@ class LinodePlugin(RunnablePlugin, CloudInstanceEntityManager, EnumSwitchEntityM get_bus().post( LinodeInstanceStatusChanged( instance_id=instance.id, - instance=instance.name, + instance_name=instance.name, status=instance.status, old_status=( status[instance.id].status