osm-controller: correctly print byte array
Correctly prints byte array as a string.
Resolves
@@ -167,7 +167,7 @@ func main() {
if err != nil {
log.Error().Err(err).Msgf("Error parsing MeshConfig %s", osmMeshConfigName)
}
- log.Info().Msgf("Initial MeshConfig %s: %v", osmMeshConfigName, meshConfig)
+ log.Info().Msgf("Initial MeshConfig %s: %v", osmMeshConfigName, string(meshConfig))
kubernetesClient, err := k8s.NewKubernetesController(kubeClient, meshName, stop)
if err != nil {
