Skip to content

Commit 3aa04d2

Browse files
committed
fix linter error
1 parent 5f7d1b7 commit 3aa04d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

amplience/resource_content_type_schema.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package amplience
22

33
import (
44
"context"
5-
"errors"
65
"fmt"
76
"log"
87

@@ -178,5 +177,5 @@ func _schemaBySchemaId(schemaId string, ci *ClientInfo, status content.ContentSt
178177
}
179178
}
180179

181-
return dummy, errors.New(fmt.Sprintf("Could not find schema %s", schemaId))
180+
return dummy, fmt.Errorf(fmt.Sprintf("Could not find schema %s", schemaId))
182181
}

0 commit comments

Comments
 (0)