diff --git a/service/controller/controller.go b/service/controller/controller.go index 8138d53b8..de0494684 100644 --- a/service/controller/controller.go +++ b/service/controller/controller.go @@ -209,6 +209,7 @@ func (c *Controller) nodeInfoMonitor() (err error) { newUserInfo, err := c.apiClient.GetUserList() if err != nil { if err.Error() == api.UserNotModified { + c.logger.Println("User list not modified") usersChanged = false newUserInfo = c.userList } else { @@ -282,6 +283,7 @@ func (c *Controller) nodeInfoMonitor() (err error) { } else { var deleted, added []api.UserInfo if usersChanged { + c.logger.Println("User list changed") deleted, added = compareUserList(c.userList, newUserInfo) if len(deleted) > 0 { deletedEmail := make([]string, len(deleted))