Change ValidationError to a pointer
In Prep for adding at leats one more field, make this operate more list StatusError.
This commit is contained in:
@@ -54,7 +54,7 @@ func TestErrorNew(t *testing.T) {
|
||||
|
||||
func TestNewInvalid(t *testing.T) {
|
||||
testCases := []struct {
|
||||
Err ValidationError
|
||||
Err *ValidationError
|
||||
Details *api.StatusDetails
|
||||
}{
|
||||
{
|
||||
|
Reference in New Issue
Block a user