Skip to content

Commit 893d072

Browse files
committed
Drop pathname from requires
1 parent 015719d commit 893d072

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

workers/event_catcher/event_catcher.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env ruby
22

33
require "manageiq-messaging"
4-
require "pathname"
54
require "sd_notify"
5+
require "rbvmomi"
66

77
class EventCatcher
88
def initialize(ems_id, default_endpoint, default_authentication, messaging_opts, page_size = 20)
@@ -56,7 +56,6 @@ def connect
5656
:rev => '6.5',
5757
}
5858

59-
require 'rbvmomi'
6059
RbVmomi::VIM.new(vim_opts).tap do |vim|
6160
vim.rev = vim.serviceContent.about.apiVersion
6261
vim.serviceContent.sessionManager.Login(:userName => username, :password => password)

0 commit comments

Comments
 (0)