Bugfix - delete props command always returns a failure
Although the command itself was executed successfully the return status
was always set to "failure" due to missing subtraction
of the success count.
@@ -43,6 +43,6 @@ func (deleteProps *DeletePropsCommand) Run() error {
if totalLengthErr != nil {
return totalLengthErr
}
- result.SetFailCount(totalLength)
+ result.SetFailCount(totalLength - success)
return err
}
