mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-20 11:45:57 +08:00
FIX 测试giteawebhook
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
class DevOps::CreateCloudAccountForm
|
||||
include ActiveModel::Model
|
||||
|
||||
attr_accessor :project_id, :ip_num, :account, :secret
|
||||
attr_accessor :repo_id, :ip_num, :account, :secret
|
||||
|
||||
validates :project_id, :account, :secret, presence: true
|
||||
validates :repo_id, :account, :secret, presence: true
|
||||
validates :ip_num, presence: true, format: { with: CustomRegexp::IP, multiline: true, message: 'IP 地址格式不对' }
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user