Skip to content

Commit 0592099

Browse files
committed
adapt keys in menu helper
Signed-off-by: Joana Hrotko <[email protected]>
1 parent 3199b2b commit 0592099

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: cmd/formatter/shortcut.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func (lk *LogKeyboard) navigationMenu() string {
189189
var options string
190190
var openDDInfo string
191191
if lk.IsDockerDesktopActive {
192-
openDDInfo = shortcutKeyColor("V") + navColor(" View in Docker Desktop")
192+
openDDInfo = shortcutKeyColor("v") + navColor(" View in Docker Desktop")
193193
}
194194
var watchInfo string
195195
if openDDInfo != "" {
@@ -199,7 +199,7 @@ func (lk *LogKeyboard) navigationMenu() string {
199199
if lk.Watch.Watching {
200200
isEnabled = " Disable"
201201
}
202-
watchInfo = watchInfo + shortcutKeyColor("W") + navColor(isEnabled+" Watch")
202+
watchInfo = watchInfo + shortcutKeyColor("w") + navColor(isEnabled+" Watch")
203203
return options + openDDInfo + watchInfo
204204
}
205205

Diff for: internal/tracing/wrap.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func EventWrapFuncForErrGroup(ctx context.Context, eventName string, opts SpanOp
8383

8484
err := fn(ctx)
8585
if err != nil {
86-
eventOpts = append(eventOpts, trace.WithAttributes(semconv.ExceptionMessage(stripansi.Strip(stripansi.Strip(err.Error())))))
86+
eventOpts = append(eventOpts, trace.WithAttributes(semconv.ExceptionMessage(stripansi.Strip(err.Error()))))
8787
}
8888
span.AddEvent(eventName, eventOpts...)
8989

0 commit comments

Comments
 (0)