Skip to content

Commit

Permalink
Require uuidtools in MiqServer::EnvironmentManager
Browse files Browse the repository at this point in the history
Prevent `NameError uninitialized constant UUIDTools`
  • Loading branch information
agrare committed Sep 12, 2024
1 parent b48b02f commit 1aa1b27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/miq_server/environment_management.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ module MiqServer::EnvironmentManagement

module ClassMethods
def get_network_information
require "uuidtools"

ipaddr = hostname = mac_address = nil

begin
Expand Down

0 comments on commit 1aa1b27

Please sign in to comment.