Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Properly logs reason for killing a plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
IRCody committed Sep 9, 2016
1 parent 14a1611 commit 5eec59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/plugin/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (s *SessionState) Kill(args []byte, reply *[]byte) error {
if err != nil {
return err
}
s.logger.Debug("Kill called by agent, reason: %s\n", a.Reason)
s.logger.Debugf("Kill called by agent, reason: %s\n", a.Reason)
go func() {
time.Sleep(time.Second * 2)
s.killChan <- 0
Expand Down

0 comments on commit 5eec59c

Please sign in to comment.