catalog: Tweak verbiage of log messages
This fixes a few types and standardizes a few log messages.
No functional code changes.
@@ -28,13 +28,13 @@ func (mc *MeshCatalog) refreshCache() {
for _, provider := range mc.endpointsProviders {
// TODO (snchh) : remove this provider check once we have figured out the service account story for azure vms
if provider.GetID() != constants.AzureProviderName {
- log.Trace().Msgf("[%s] Finding Services for servcie acccount =%s", provider.GetID(), namespacesServiceAccounts)
+ log.Trace().Msgf("[%s] Looking for Services for ServiceAccount=%s", provider.GetID(), namespacesServiceAccounts)
newServices := provider.ListServicesForServiceAccount(namespacesServiceAccounts)
if len(newServices) == 0 {
- log.Trace().Msgf("[%s] No services found for service account=%s", provider.GetID(), namespacesServiceAccounts)
+ log.Trace().Msgf("[%s] No services found for ServiceAccount=%s", provider.GetID(), namespacesServiceAccounts)
continue
}
- log.Trace().Msgf("[%s] Found services=%+v for service account=%s", provider.GetID(), newServices, namespacesServiceAccounts)
+ log.Trace().Msgf("[%s] Found services=%+v for ServiceAccount=%s", provider.GetID(), newServices, namespacesServiceAccounts)
if existingServices, exists := serviceAccountsCache[namespacesServiceAccounts]; exists {
// append only new services i.e. preventing duplication
for _, service := range newServices {
