Skip to content

Commit e4656a9

Browse files
committed
remove code from testing
1 parent e19afb4 commit e4656a9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

internal/command/command_plugin.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,6 @@ func (cp *CommandPlugin) processResourceUpdate(ctx context.Context, msg *bus.Mes
9494
if !cp.commandService.IsConnected() && cp.config.IsFeatureEnabled(pkgConfig.FeatureConnection) {
9595
cp.createConnection(ctx, resource)
9696

97-
newConn, err := cp.conn.Restart(ctx)
98-
if err != nil {
99-
slog.ErrorContext(ctx, "Failed to restart connection", "error", err)
100-
return
101-
}
102-
cp.conn = newConn
103-
cp.createConnection(ctx, resource)
104-
10597
} else {
10698
statusErr := cp.commandService.UpdateDataPlaneStatus(ctx, resource)
10799
if statusErr != nil {

0 commit comments

Comments
 (0)