diff --git a/pkg/monitors/statuscake/statuscake-monitor.go b/pkg/monitors/statuscake/statuscake-monitor.go index c94abe83..9bc95e67 100644 --- a/pkg/monitors/statuscake/statuscake-monitor.go +++ b/pkg/monitors/statuscake/statuscake-monitor.go @@ -440,7 +440,6 @@ func (service *StatusCakeMonitorService) Remove(m models.Monitor) { log.Error(nil, fmt.Sprintf("Delete Request failed for Monitor: %s with id: %s", m.Name, m.ID)) } else { - log.Info("Statuscode for Remove monitor is 'StatusNoContent'") _, err = service.GetByID(m.ID) if strings.Contains(err.Error(), "Request failed") { log.Info("Monitor Deleted: " + m.ID + m.Name) diff --git a/pkg/monitors/uptimerobot/uptime-status-page.go b/pkg/monitors/uptimerobot/uptime-status-page.go index 45fe5d55..7c7b6a99 100644 --- a/pkg/monitors/uptimerobot/uptime-status-page.go +++ b/pkg/monitors/uptimerobot/uptime-status-page.go @@ -12,17 +12,9 @@ import ( "github.com/stakater/IngressMonitorController/v2/pkg/http" "github.com/stakater/IngressMonitorController/v2/pkg/models" "github.com/stakater/IngressMonitorController/v2/pkg/util" - ctrl "sigs.k8s.io/controller-runtime" logf "sigs.k8s.io/controller-runtime/pkg/log" - "sigs.k8s.io/controller-runtime/pkg/log/zap" ) -func init() { - // To allow normal logging to be printed if tests fails - // Dev mode is an extra feature to make output more readable - ctrl.SetLogger(zap.New(zap.UseDevMode(true))) -} - var log = logf.Log.WithName("uptime-monitor-test") type UpTimeStatusPageService struct {