This is an automated email from the ASF dual-hosted git repository.
iuliana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
The following commit(s) were added to refs/heads/master by this push:
new 987fc83 remove units from minRam in location wizard
new 6ca6f9a Merge pull request #193 from
ahgittin/location-allows-ram-units
987fc83 is described below
commit 987fc8370b63fd25837595b2b640e1ef579f6c3c
Author: Alex Heneveld <[email protected]>
AuthorDate: Tue Feb 16 16:06:17 2021 +0000
remove units from minRam in location wizard
so that people can specify "16 gb" which is more natural than requiring eg
"16384" (units hardcoded as "Mb")
---
.../location-manager/app/components/location-utils/location-utils.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
a/ui-modules/location-manager/app/components/location-utils/location-utils.js
b/ui-modules/location-manager/app/components/location-utils/location-utils.js
index bbc8637..0aaeed3 100644
---
a/ui-modules/location-manager/app/components/location-utils/location-utils.js
+++
b/ui-modules/location-manager/app/components/location-utils/location-utils.js
@@ -41,9 +41,8 @@ export function locationConfigProvider() {
type: 'number'
},
'minRam': {
- description: 'Minimum amount of RAM for the generated VM',
- type: 'number',
- unit: 'Mb'
+ description: 'Minimum amount of RAM for the generated VM, e.g.
"16 gb"; defaults to "mb" if no units specified',
+ type: 'text',
},
'osFamily': {
description: 'Operating system to use for the generated VM',