Skip to content

Commit

Permalink
Merge branch 'master' into remove_redundant_snapshot_issues#527
Browse files Browse the repository at this point in the history
  • Loading branch information
agentpoyo authored Jan 12, 2021
2 parents 95e8803 + b4502fa commit cfae999
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/tasks/platform/platform.cr
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,12 @@ task "clusterapi_enabled" do |_, args|

clusterapi_control_planes_json = proc_clusterapi_control_planes_json.call
LOGGING.info("clusterapi_control_planes_json: #{clusterapi_control_planes_json}")


emoji_control=""
if clusterapi_namespaces_json["items"]? && clusterapi_namespaces_json["items"].as_a.size > 0 && clusterapi_control_planes_json["items"]? && clusterapi_control_planes_json["items"].as_a.size > 0
resp = upsert_passed_task("clusterapi_enabled", "✔️ Cluster API is enabled ")
resp = upsert_passed_task("clusterapi_enabled", "✔️ Cluster API is enabled #{emoji_control}")
else
resp = upsert_failed_task("clusterapi_enabled","✖️ Cluster API NOT enabled ")
resp = upsert_failed_task("clusterapi_enabled", "✖️ Cluster API NOT enabled #{emoji_control}")
end

resp
Expand Down

0 comments on commit cfae999

Please sign in to comment.