fix(cgi-bin): add job title and description to set_membership

main
Tsu-ba-me 4 years ago
parent d6c1013976
commit 419ec52d2b
  1. 8
      cgi-bin/set_membership
  2. 8
      share/words.xml

@ -102,10 +102,10 @@ sub join_cluster
#
#$anvil->Database->insert_or_update_jobs({
# job_command => $anvil->data->{path}{exe}{'anvil-safe-start'},
# job_description => "",
# job_description => "job_0337",
# job_name => "cgi-bin::set_membership::join",
# job_progress => 0,
# job_title => ""
# job_title => "job_0336"
#});
}
}
@ -131,10 +131,10 @@ sub leave_cluster
#
#$anvil->Database->insert_or_update_jobs({
# job_command => $anvil->data->{path}{exe}{'anvil-safe-stop'},
# job_description => "",
# job_description => "job_0339",
# job_name => "cgi-bin::set_membership::leave",
# job_progress => 0,
# job_title => ""
# job_title => "job_0338"
#});
}
}

@ -1081,6 +1081,14 @@ It should be provisioned in the next minute or two.</key>
<key name="job_0334">Power Off Host</key>
<!-- cgi-bin/set_power,off,job_description -->
<key name="job_0335">Power off the target host by executing a stop script on the host itself.</key>
<!-- cgi-bin/set_membership,join,job_title -->
<key name="job_0336">Host Join Cluster</key>
<!-- cgi-bin/set_membership,join,job_description -->
<key name="job_0337">Make target host join its anvil cluster.</key>
<!-- cgi-bin/set_membership,leave,job_title -->
<key name="job_0338">Host Leave Cluster</key>
<!-- cgi-bin/set_membership,leave,job_description -->
<key name="job_0339">Make target host leave its anvil cluster.</key>
<!-- Log entries -->
<key name="log_0001">Starting: [#!variable!program!#].</key>

Loading…
Cancel
Save