Skip to content

Commit e5e1ffa

Browse files
committed
PR feedback
1 parent e96fee0 commit e5e1ffa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

api/grpc/mpi/v1/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func ConvertToMap(input []*structpb.Struct) map[string]any {
6161
case *structpb.Value_BoolValue:
6262
convertedMap[key] = field.GetBoolValue()
6363
default:
64-
slog.Warn("unknown type for map conversion", "value", kind)
64+
slog.Warn("Unknown type for map conversion", "value", kind)
6565
}
6666
}
6767
}

internal/collector/otel_collector_plugin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ func (oc *Collector) Reconfigure(ctx context.Context, agentConfig *config.Config
226226
oc.restartCollector(ctx)
227227
}
228228
} else {
229+
slog.InfoContext(ctx, "OTel collector headers have been added, restarting collector")
229230
oc.config = agentConfig
230231
oc.restartMutex.Lock()
231232
defer oc.restartMutex.Unlock()

0 commit comments

Comments
 (0)