Skip to content

Commit

Permalink
Merge pull request libopenstorage#2376 from rkinhalkar-px/PWX-34442
Browse files Browse the repository at this point in the history
[PWX-34442] Update Error message, remove labels
  • Loading branch information
vinayakshnd authored Nov 17, 2023
2 parents 93127db + 6612dee commit 0c08cc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"strings"

"github.com/libopenstorage/openstorage/api"
"github.com/libopenstorage/openstorage/pkg/parser"
)

var (
Expand Down Expand Up @@ -56,7 +55,7 @@ func (e *ErrStoragePoolResizeInProgress) Error() string {
if e.Pool.LastOperation != nil {
op := e.Pool.LastOperation
if op.Type == api.SdkStoragePool_OPERATION_RESIZE {
errMsg = fmt.Sprintf("%s %s %s", errMsg, op.Msg, parser.LabelsToString(op.Params))
errMsg = fmt.Sprintf("%s %s", errMsg, op.Msg)
}
}

Expand Down

0 comments on commit 0c08cc5

Please sign in to comment.