Skip to content

Commit

Permalink
Merge pull request #756 from MelsHyrule/attach-detach-cloud-volume-am…
Browse files Browse the repository at this point in the history
…azon

Add custom schema fields to Amazon attach cloud volume form
  • Loading branch information
kbrock authored May 6, 2022
2 parents d621b84 + f66ad8b commit bdffd2f
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,21 @@ def params_for_update
}
end

def params_for_attach
{
:fields => [
{
:component => 'text-field',
:name => 'device_mountpoint',
:id => 'device_mountpoint',
:label => _('Device Mountpoint'),
:isRequired => true,
:validate => [{:type => 'required'}],
},
]
}
end

private

def modify_volume_options(options = {})
Expand Down

0 comments on commit bdffd2f

Please sign in to comment.