fixup signatures
This commit is contained in:
parent
f717f7f962
commit
960e9766d4
|
@ -44,7 +44,7 @@ impl TestWorker {
|
|||
};
|
||||
}
|
||||
|
||||
pub fn tick(event: str) -> worker::Action {
|
||||
pub fn tick(&self, event: &str) -> worker::Action {
|
||||
worker::Action::Publish(worker::QueueMsg{
|
||||
exchange: Some(String::from("stats")),
|
||||
routing_key: None,
|
||||
|
@ -55,7 +55,7 @@ impl TestWorker {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn say_hi() -> worker::Action {
|
||||
pub fn say_hi(&self) -> worker::Action {
|
||||
worker::Action::Publish(worker::QueueMsg{
|
||||
exchange: None,
|
||||
routing_key: Some(String::from("test-notify-worker")),
|
||||
|
|
Loading…
Reference in a new issue