mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-01-16 01:31:45 +01:00
Cleanup print statements. Always enable Compression
This commit is contained in:
@@ -23,7 +23,8 @@ func RegisterLdapSyncService(ds string) {
|
||||
|
||||
auth := auth.GetAuthInstance()
|
||||
|
||||
cclog.Info("Register LDAP sync service")
|
||||
cclog.Infof("register ldap sync service with %s interval", ds)
|
||||
|
||||
s.NewJob(gocron.DurationJob(interval),
|
||||
gocron.NewTask(
|
||||
func() {
|
||||
@@ -32,6 +33,5 @@ func RegisterLdapSyncService(ds string) {
|
||||
if err := auth.LdapAuth.Sync(); err != nil {
|
||||
cclog.Errorf("ldap sync failed: %s", err.Error())
|
||||
}
|
||||
cclog.Print("ldap sync done")
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user