1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

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

Without the require, commands with --json or --yaml flags fails for
ActiveSupport version 7.0+
This commit is contained in:
Pavel Czerný 2023-09-20 13:34:23 +02:00 committed by GitHub
parent 4bcb6f7089
commit e427a29a14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1352,6 +1352,7 @@ Bash symbols must be escaped on STDIN passing'
#
# @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