Skip to content

Commit

Permalink
[kubernetes] fix ingress edit bug
Browse files Browse the repository at this point in the history
  • Loading branch information
annProg committed Nov 26, 2018
1 parent 009d43a commit b644c55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes/datamodel.kubernetes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3701,7 +3701,7 @@
if($aChanges)
{
$friendlyname = $this->Get('k8singressannotations_id') . " " . $this->Get('deployment_id');
$allowmodify = array("value");
$allowmodify = array("value","enable");
$allow = true;
foreach($aChanges as $key => $val) {
if(!in_array($key, $allowmodify)) {
Expand Down Expand Up @@ -3960,7 +3960,7 @@
if($aChanges)
{
$friendlyname = $this->Get('k8singressannotations_id') . " " . $this->Get('ingress_id');
$allowmodify = array("value");
$allowmodify = array("value","enable");
$allow = true;
foreach($aChanges as $key => $val) {
if(!in_array($key, $allowmodify)) {
Expand Down

0 comments on commit b644c55

Please sign in to comment.