From 031b428e0cda830e3a5ab92054d846360bda07d9 Mon Sep 17 00:00:00 2001 From: Hasnat Date: Sat, 14 Apr 2018 10:17:58 +0100 Subject: [PATCH] fix(external-endpoints): less verbose output (#1815) --- api/cron/endpoint_sync.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/cron/endpoint_sync.go b/api/cron/endpoint_sync.go index 6b9926665..8d55b4a0e 100644 --- a/api/cron/endpoint_sync.go +++ b/api/cron/endpoint_sync.go @@ -142,8 +142,6 @@ func (job endpointSyncJob) prepareSyncData(storedEndpoints, fileEndpoints []port if endpoint != nil { job.logger.Printf("New definition for a stored endpoint found in file, updating database. [name: %v] [url: %v]\n", endpoint.Name, endpoint.URL) endpointsToUpdate = append(endpointsToUpdate, endpoint) - } else { - job.logger.Printf("No change detected for a stored endpoint. [name: %v] [url: %v]\n", storedEndpoints[idx].Name, storedEndpoints[idx].URL) } } else { job.logger.Printf("Stored endpoint not found in file (definition might be invalid), removing from database. [name: %v] [url: %v]", storedEndpoints[idx].Name, storedEndpoints[idx].URL)