Skip to content

Commit

Permalink
Edit volume file.
Browse files Browse the repository at this point in the history
  • Loading branch information
wenjun666 committed Sep 23, 2024
1 parent 7aa7006 commit 3158673
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions internal/provider/storage/storage_volume_file_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}
}
Expand Down

0 comments on commit 3158673

Please sign in to comment.