Skip to content

Commit

Permalink
[PBM-1361] 'add profile' command returns OK despite profile wasn't added
Browse files Browse the repository at this point in the history
  • Loading branch information
defbin committed Aug 1, 2024
1 parent d4b1835 commit 9904ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/pbm-agent/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (a *Agent) handleAddConfigProfile(
return
}
if !got {
err = errors.Wrap(err, "lock not acquired")
err = errors.New("lock not acquired")
return
}
defer func() {
Expand Down

0 comments on commit 9904ff7

Please sign in to comment.