Skip to content

Commit

Permalink
delete use of logger.With in upgradeChannelStep
Browse files Browse the repository at this point in the history
Signed-off-by: Masanori Yoshida <[email protected]>
  • Loading branch information
siburu committed Aug 22, 2024
1 parent 98dba71 commit 037b0be
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions core/channel-upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package core
import (
"errors"
"fmt"
"log/slog"
"time"

retry "github.com/avast/retry-go"
Expand Down Expand Up @@ -332,18 +331,6 @@ func upgradeChannelStep(src, dst *ProvableChain, targetSrcState, targetDstState
return out, nil
}

// add info to logger
logger = logger.With(
slog.Group("src",
"state", srcState,
"seq", srcChan.Channel.UpgradeSequence,
),
slog.Group("dst",
"state", dstState,
"seq", dstChan.Channel.UpgradeSequence,
),
)

// determine next actions for src/dst chains
srcAction := UPGRADE_ACTION_NONE
dstAction := UPGRADE_ACTION_NONE
Expand Down

0 comments on commit 037b0be

Please sign in to comment.