Skip to content

Commit 3643fc5

Browse files
removing test
1 parent a60b04e commit 3643fc5

8 files changed

+1
-1437
lines changed

GNUmakefile

-3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,3 @@ website:
5555

5656
.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website
5757

58-
mockgen:
59-
@mockgen -source=scaleway/rdb_interface.go -destination=scaleway/mocks/rdb_interface.go -package=mocks
60-
@mockgen -destination=scaleway/mocks/context.go -package=mocks context Context

scaleway/helpers_rdb.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func newRdbAPI(m interface{}) *rdb.API {
1919
}
2020

2121
// rdbAPIWithRegion returns a new lb API and the region for a Create request
22-
func rdbAPIWithRegion(d *schema.ResourceData, m interface{}) (RdbAPIInterface, scw.Region, error) {
22+
func rdbAPIWithRegion(d *schema.ResourceData, m interface{}) (*rdb.API, scw.Region, error) {
2323
meta := m.(*Meta)
2424

2525
region, err := extractRegion(d, meta)

scaleway/mocks/context.go

-92
This file was deleted.

scaleway/mocks/rdb_helpers.go

-239
This file was deleted.

0 commit comments

Comments
 (0)