Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng committed Sep 18, 2024
1 parent 3dc9d79 commit 76974ae
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions service/interpreter/workflowImpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"fmt"
uclient "github.com/indeedeng/iwf/service/client"
"github.com/indeedeng/iwf/service/common/ptr"
"github.com/indeedeng/iwf/service/interpreter/env"
"time"

Expand Down Expand Up @@ -656,7 +655,7 @@ func executeState(
status = iwfidl.FIRED
}
timerResults = append(timerResults, iwfidl.TimerResult{
CommandId: ptr.Any(cmd.GetCommandId()),
CommandId: cmd.GetCommandId(),
TimerStatus: status,
})
}
Expand All @@ -673,7 +672,7 @@ func executeState(
}

signalResults = append(signalResults, iwfidl.SignalResult{
CommandId: ptr.Any(cmd.GetCommandId()),
CommandId: cmd.GetCommandId(),
SignalChannelName: cmd.GetSignalChannelName(),
SignalValue: result,
SignalRequestStatus: status,
Expand All @@ -692,7 +691,7 @@ func executeState(
}

interStateChannelResults = append(interStateChannelResults, iwfidl.InterStateChannelResult{
CommandId: cmd.CommandId,
CommandId: cmd.GetCommandId(),
ChannelName: cmd.ChannelName,
RequestStatus: status,
Value: result,
Expand Down

0 comments on commit 76974ae

Please sign in to comment.