Skip to content

Commit a6dd079

Browse files
authored
when service is undefined, enabled services field should be ALL (#241)
1 parent bb9bfe4 commit a6dd079

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/mcp-digitalocean/main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ func main() {
107107
wsLoggingHandler = wsLoggingHandler.WithAttrs([]slog.Attr{
108108
slog.String("enabled_services", *serviceFlag),
109109
}).(*wslogging.Handler)
110+
} else {
111+
wsLoggingHandler = wsLoggingHandler.WithAttrs([]slog.Attr{
112+
slog.String("enabled_services", "all"),
113+
}).(*wslogging.Handler)
110114
}
111115

112116
// create logger after adding service attributes

0 commit comments

Comments
 (0)