Skip to content

Commit

Permalink
fix: export project datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
s1ntaxe770r committed Jul 29, 2024
1 parent dfd26d2 commit 0294162
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ func (p *qernalProvider) DataSources(_ context.Context) []func() datasource.Data
qernalresource.NeworganisationDataSource,
qernalresource.NewhostDataSource,
qernalresource.NewproviderDataSource,
qernalresource.NewprojectDataSource,
}
}

Expand Down
2 changes: 1 addition & 1 deletion internal/resources/datasource_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (r *projectDataSource) Configure(ctx context.Context, req datasource.Config

// Metadata returns the data source type name.
func (d *projectDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) {
resp.TypeName = req.ProviderTypeName + "_project_secret"
resp.TypeName = req.ProviderTypeName + "_project"
}

// Schema defines the schema for the data source.
Expand Down

0 comments on commit 0294162

Please sign in to comment.