fix: repr WoodpeckerEvent??!!
This commit is contained in:
parent
53bbf001a0
commit
d5f94e26c6
2 changed files with 1 additions and 5 deletions
|
|
@ -35,7 +35,7 @@ class ReloadService:
|
|||
started=int(datetime.now().timestamp()),
|
||||
files=[f"compose/{event.service}/docker-compose.yml"] + [str(pp) for pp in list(mos)]
|
||||
)
|
||||
logger.debug(f"Sending <WoodpeckerEvent _id={we.id} commit={we.commit} ref={we.ref} message={we.message} started={we.started} files={we.files}")
|
||||
logger.debug(f"Sending <WoodpeckerEvent commit={we.commit} ref={we.ref} message={we.message} started={we.started} files={we.files}")
|
||||
await self._bus.dispatch(we)
|
||||
except Exception as e:
|
||||
logger.error(f"Reload error: {e}", exc_info=True)
|
||||
|
|
|
|||
|
|
@ -11,9 +11,5 @@ class WoodpeckerEvent(BaseEvent):
|
|||
started: int
|
||||
files: List[str]
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
return self._id
|
||||
|
||||
class ReloadEvent(BaseEvent):
|
||||
service: str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue