Skip to content

Commit 5773b42

Browse files
committed
clean up
1 parent 8ef3c45 commit 5773b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/file/file_plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (fp *FilePlugin) Info() *bus.Info {
6666

6767
// nolint: cyclop, revive
6868
func (fp *FilePlugin) Process(ctx context.Context, msg *bus.Message) {
69-
if logger.ServerType(ctx) == model.Command.String() || logger.ServerType(ctx) == "" {
69+
if logger.ServerType(ctx) == fp.serverType.String() || logger.ServerType(ctx) == "" {
7070
switch msg.Topic {
7171
case bus.ConnectionResetTopic:
7272
fp.handleConnectionReset(ctx, msg)

0 commit comments

Comments
 (0)