1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

M #-: Add require 'active_support' (#2738)

Without the require, commands with --json or --yaml flags fails for
ActiveSupport version 7.0+

(cherry picked from commit e427a29a14fc06c73501a4fff0571e60ff3ad0ba)
This commit is contained in:
Pavel Czerný 2023-09-20 13:34:23 +02:00 committed by Ruben S. Montero
parent 438d534aef
commit 1694d5681b
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -1263,6 +1263,7 @@ EOT
#
# @return [Hash] XSD in hash format, nil if not found
def read_xsd(ename)
require 'active_support'
require 'active_support/core_ext/hash/conversions'
# Try GEM directory