Skip to content

Commit

Permalink
Merge pull request #2958 from crazy-max/fix-debug-invoke
Browse files Browse the repository at this point in the history
debug: fix invoke on error
  • Loading branch information
tonistiigi authored Jan 31, 2025
2 parents cacb4fb + b2ababc commit 934841f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ func runControllerBuild(ctx context.Context, dockerCli command.Cli, opts *contro
if err != nil {
var be *controllererrors.BuildError
if errors.As(err, &be) {
ref = be.Ref
ref = be.SessionID
retErr = err
// We can proceed to monitor
} else {
Expand Down
2 changes: 1 addition & 1 deletion monitor/commands/reload.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (cm *ReloadCmd) Exec(ctx context.Context, args []string) error {
if err != nil {
var be *controllererrors.BuildError
if errors.As(err, &be) {
ref = be.Ref
ref = be.SessionID
resultUpdated = true
} else {
fmt.Printf("failed to reload: %v\n", err)
Expand Down

0 comments on commit 934841f

Please sign in to comment.