mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-27 14:03:40 +03:00
Remove json from Configuration.rb
(cherry picked from commit dfa0d07bc62c5c5cfe9d4536b4de3ed23bfebffa)
This commit is contained in:
parent
2f1fad09cc
commit
3b2c9c7281
@ -13,7 +13,6 @@
|
||||
# See the License for the specific language governing permissions and #
|
||||
# limitations under the License. #
|
||||
#--------------------------------------------------------------------------- #
|
||||
require 'json'
|
||||
|
||||
module OpenNebula
|
||||
############################################################################
|
||||
@ -61,10 +60,6 @@ module OpenNebula
|
||||
@conf[key.to_s.upcase]
|
||||
end
|
||||
|
||||
def to_json
|
||||
JSON::generate(@conf) if @conf
|
||||
end
|
||||
|
||||
########################################################################
|
||||
########################################################################
|
||||
private
|
||||
|
Loading…
x
Reference in New Issue
Block a user