Skip to content

Commit

Permalink
Fix datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
ducvm29 committed Oct 1, 2024
1 parent 66ba65d commit 1ac0591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fptcloud/mfke/datasource_mfke.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
type datasourceManagedKubernetesEngine struct {
client *commons.Client
mfkeClient *MfkeApiClient
subnetClient *fptcloud_subnet.SubnetClient
subnetClient fptcloud_subnet.SubnetService
}

func (d *datasourceManagedKubernetesEngine) Configure(ctx context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse) {
Expand All @@ -43,7 +43,7 @@ func (d *datasourceManagedKubernetesEngine) Configure(ctx context.Context, reque

d.client = client
d.mfkeClient = newMfkeApiClient(d.client)
d.subnetClient = fptcloud_subnet.NewSubnetClient(d.client)
d.subnetClient = fptcloud_subnet.NewSubnetService(d.client)
}

func (d *datasourceManagedKubernetesEngine) Metadata(ctx context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse) {
Expand Down

0 comments on commit 1ac0591

Please sign in to comment.