mirror of https://github.com/databricks/cli.git
Fix linter error
This commit is contained in:
parent
f93d39430c
commit
a237dfac5c
|
@ -1,6 +1,7 @@
|
|||
package diag
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/databricks/cli/libs/dyn"
|
||||
|
@ -106,7 +107,7 @@ func (ds Diagnostics) Error() error {
|
|||
if d.ID != "" {
|
||||
message = string(d.ID) + ": " + message
|
||||
}
|
||||
return fmt.Errorf(message)
|
||||
return errors.New(message)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue