Skip to content

Commit

Permalink
Treat securestring case insentive
Browse files Browse the repository at this point in the history
  • Loading branch information
bzwei committed Feb 9, 2018
1 parent 386b14d commit 4fe6037
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def parameters
:label => key.titleize,
:data_type => val['type'],
:default_value => val['defaultValue'],
:hidden => val['type'] == 'securestring',
:hidden => val['type'].casecmp('securestring').zero?,
:required => true
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
},
"adminPassword": {
"type": "securestring",
"type": "secureString",
"metadata": {
"description": "Admin password"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def assert_secret_type(parameter)
:name => "adminPassword",
:label => "Admin Password",
:description => "Admin password",
:data_type => "securestring",
:data_type => "secureString",
:default_value => nil,
:hidden => true,
:required => true,
Expand Down

0 comments on commit 4fe6037

Please sign in to comment.