- private def check_run_time
- return unless @hash.has_key?("ssh_pub_key")
Only the borrow job has the ssh_pub_key?
yes, see v2 replied email for details.
Thanks, Luan Shengde
Thanks, Xueliang
- max_run_time = 10 * 24 * 3600
- error_msg = "The maximum runtime should no more than 10 days."
- raise error_msg if hash["runtime"].to_i > max_run_time
- end
- private def is_valid_account?(account_info) return false unless account_info.is_a?(JSON::Any)
-- 2.23.0