Skip to content

Commit b191651

Browse files
committed
chore: remove invalid import from acl
1 parent 5fe8760 commit b191651

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

redpanda/resources/acl/resource_acl.go

+3-9
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ type ACL struct {
4343

4444
// Ensure provider defined types fully satisfy framework interfaces.
4545
var (
46-
_ resource.Resource = &ACL{}
47-
_ resource.ResourceWithConfigure = &ACL{}
48-
_ resource.ResourceWithImportState = &ACL{}
46+
_ resource.Resource = &ACL{}
47+
_ resource.ResourceWithConfigure = &ACL{}
4948
)
5049

5150
// Metadata returns the metadata for the resource.
@@ -166,7 +165,7 @@ func (a *ACL) Create(ctx context.Context, request resource.CreateRequest, respon
166165
return
167166
}
168167
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
170169
_, err = a.ACLClient.CreateACL(ctx, &dataplanev1alpha2.CreateACLRequest{
171170
ResourceType: resourceType,
172171
ResourceName: model.ResourceName.ValueString(),
@@ -330,11 +329,6 @@ func (a *ACL) Delete(ctx context.Context, request resource.DeleteRequest, respon
330329
response.State.RemoveResource(ctx)
331330
}
332331

333-
// ImportState imports an ACL resource
334-
func (*ACL) ImportState(_ context.Context, _ resource.ImportStateRequest, _ *resource.ImportStateResponse) {
335-
// TODO implement me.
336-
}
337-
338332
func (a *ACL) createACLClient(clusterURL string) error {
339333
if a.ACLClient != nil { // Client already started, no need to create another one.
340334
return nil

0 commit comments

Comments
 (0)