diff --git a/internal/provider/provider.go b/internal/provider/provider.go index a67dbe3c..697b717b 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -246,7 +246,7 @@ func (p *ONTAPProvider) Resources(ctx context.Context) []func() resource.Resourc storage.NewStorageQuotaRuleResource, storage.NewStorageFlexcacheRsource, storage.NewStorageVolumeResource, - storage.NewVolumesFileResource, + storage.NewVolumeFileResource, storage.NewStorageQtreeResource, storage.NewStorageVolumeEfficiencyPolicyResource, storage.NewStorageVolumeSnapshotResource, diff --git a/internal/provider/storage/storage_volume_file_resource.go b/internal/provider/storage/storage_volume_file_resource.go index 6972a762..a3c906db 100644 --- a/internal/provider/storage/storage_volume_file_resource.go +++ b/internal/provider/storage/storage_volume_file_resource.go @@ -24,10 +24,10 @@ var _ resource.Resource = &VolumesFilesResource{} var _ resource.ResourceWithImportState = &VolumesFilesResource{} // NewVolumesFilesResource is a helper function to simplify the provider implementation. -func NewVolumesFileResource() resource.Resource { +func NewVolumeFileResource() resource.Resource { return &VolumesFilesResource{ config: connection.ResourceOrDataSourceConfig{ - Name: "volumes_file", + Name: "volume_file", }, } }