summaryrefslogtreecommitdiff
path: root/app/models/clusters
diff options
context:
space:
mode:
authorAmit Rathi <amit@hypertrack.io>2018-11-23 01:44:48 +0530
committerAmit Rathi <amit@hypertrack.io>2018-11-23 01:44:48 +0530
commitfaa18a2c3561f75217821ababf29b7c7e36d72dc (patch)
treef1cedf11215364ae73e0e15251d86e93b0e38875 /app/models/clusters
parent09c3c95d2db02cbaf199e14ee3926c4135983003 (diff)
downloadgitlab-ce-faa18a2c3561f75217821ababf29b7c7e36d72dc.tar.gz
change load_file to safe_load
Diffstat (limited to 'app/models/clusters')
-rw-r--r--app/models/clusters/applications/cert_manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clusters/applications/cert_manager.rb b/app/models/clusters/applications/cert_manager.rb
index 5147819b86e..583f19d3dc8 100644
--- a/app/models/clusters/applications/cert_manager.rb
+++ b/app/models/clusters/applications/cert_manager.rb
@@ -48,7 +48,7 @@ module Clusters
end
def cluster_issuer_content
- YAML.load_file(cluster_issuer_file_path)
+ YAML.safe_load(cluster_issuer_file_path)
end
def cluster_issue_overlay