@@ -43,9 +43,8 @@ type ACL struct {
43
43
44
44
// Ensure provider defined types fully satisfy framework interfaces.
45
45
var (
46
- _ resource.Resource = & ACL {}
47
- _ resource.ResourceWithConfigure = & ACL {}
48
- _ resource.ResourceWithImportState = & ACL {}
46
+ _ resource.Resource = & ACL {}
47
+ _ resource.ResourceWithConfigure = & ACL {}
49
48
)
50
49
51
50
// Metadata returns the metadata for the resource.
@@ -166,7 +165,7 @@ func (a *ACL) Create(ctx context.Context, request resource.CreateRequest, respon
166
165
return
167
166
}
168
167
defer a .dataplaneConn .Close ()
169
- // TODO doesn't return an acl object in the response, check on this
168
+ // FTODO doesn't return an acl object in the response, check on this
170
169
_ , err = a .ACLClient .CreateACL (ctx , & dataplanev1alpha2.CreateACLRequest {
171
170
ResourceType : resourceType ,
172
171
ResourceName : model .ResourceName .ValueString (),
@@ -330,11 +329,6 @@ func (a *ACL) Delete(ctx context.Context, request resource.DeleteRequest, respon
330
329
response .State .RemoveResource (ctx )
331
330
}
332
331
333
- // ImportState imports an ACL resource
334
- func (* ACL ) ImportState (_ context.Context , _ resource.ImportStateRequest , _ * resource.ImportStateResponse ) {
335
- // TODO implement me.
336
- }
337
-
338
332
func (a * ACL ) createACLClient (clusterURL string ) error {
339
333
if a .ACLClient != nil { // Client already started, no need to create another one.
340
334
return nil
0 commit comments