mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
9 lines
176 B
Ruby
9 lines
176 B
Ruby
json.step current_user.devops_step
|
|
json.cloud_account do
|
|
if @cloud_account && !current_user.devops_uninit?
|
|
json.ip @cloud_account.drone_ip
|
|
else
|
|
json.nil!
|
|
end
|
|
end
|