Skip to content

Commit

Permalink
internal/storage/resource_storage_volume: name receivers
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Dec 10, 2024
1 parent 194e210 commit e121dad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/storage/resource_storage_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,15 +382,15 @@ func (r StorageVolumeResource) SyncState(ctx context.Context, tfState *tfsdk.Sta
}

// ComputedKeys returns list of computed config keys.
func (_ StorageVolumeModel) ComputedKeys() []string {
func (m StorageVolumeModel) ComputedKeys() []string {
return []string{
"block.filesystem",
"block.mount_options",
"volatile.",
}
}

func (_ StorageVolumeModel) InheritedStoragePoolVolumeKeys(server lxd.InstanceServer, poolName string) ([]string, error) {
func (m StorageVolumeModel) InheritedStoragePoolVolumeKeys(server lxd.InstanceServer, poolName string) ([]string, error) {
pool, _, err := server.GetStoragePool(poolName)
if err != nil {
return nil, err
Expand Down

0 comments on commit e121dad

Please sign in to comment.