Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #63 from alexbrand/sync-logs
Browse files Browse the repository at this point in the history
discovery/pkg/sync: use single-quotes in log messages
  • Loading branch information
stevesloka committed Apr 25, 2018
2 parents 2a75718 + 8dd463e commit 41edc14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion discovery/pkg/sync/endpoints.go
Expand Up @@ -74,7 +74,7 @@ func (action endpointsAction) Sync(kubeClient kubernetes.Interface, metrics loca
}

func (action endpointsAction) String() string {
return fmt.Sprintf(`%s endpoints "%s/%s"`, action.kind, action.endpoints.Namespace, action.endpoints.Name)
return fmt.Sprintf(`%s endpoints '%s/%s'`, action.kind, action.endpoints.Namespace, action.endpoints.Name)
}

func addEndpoints(kubeClient kubernetes.Interface, endpoints *v1.Endpoints, lm localmetrics.DiscovererMetrics, clusterName string) error {
Expand Down
2 changes: 1 addition & 1 deletion discovery/pkg/sync/service.go
Expand Up @@ -74,7 +74,7 @@ func (action serviceAction) Sync(kubeClient kubernetes.Interface, metrics localm
}

func (action serviceAction) String() string {
return fmt.Sprintf(`%s service "%s/%s"`, action.kind, action.service.Namespace, action.service.Name)
return fmt.Sprintf(`%s service '%s/%s'`, action.kind, action.service.Namespace, action.service.Name)
}

func addService(kubeClient kubernetes.Interface, service *v1.Service, lm localmetrics.DiscovererMetrics, clusterName string) error {
Expand Down

0 comments on commit 41edc14

Please sign in to comment.