1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-01 05:47:01 +03:00

B #5913: Check if CLI *.yaml exists (#2469)

(cherry picked from commit f0c01ca2380ef523094453d50d2f512557eaa3f6)
This commit is contained in:
Pavel Czerný 2023-01-31 13:33:46 +01:00 committed by Ruben S. Montero
parent dd1007ee5b
commit aeb9b15ea0
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -809,7 +809,7 @@ module CLIHelper
# @param options [Hash] Object with CLI user options
def update_columns(options)
begin
if @conf
if @conf && File.exists?(@conf)
config = YAML.load_file(@conf)
else
config = {}