Skip to content

Commit 0cc89f3

Browse files
committed
Forgot to remove attribute network_monitors from VirtualServer in commit 35f62f4
1 parent 8fb0524 commit 0cc89f3

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

lib/softlayer/VirtualServer.rb

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,6 @@ class VirtualServer < Server
5151
# to determine if an OS reload is in progress.
5252
sl_attr :lastOperatingSystemReload
5353

54-
##
55-
# A lsst of configured network monitors.
56-
#
57-
sl_dynamic_attr :network_monitors do |resource|
58-
resource.should_update? do
59-
@network_monitors == nil
60-
end
61-
62-
resource.to_update do
63-
network_monitors_data = self.service.object_mask(NetworkMonitor.default_object_mask).getNetworkMonitors
64-
65-
network_monitors_data.map! do |network_monitor|
66-
NetworkMonitor.new(softlayer_client, network_monitor) unless network_monitor.empty?
67-
end
68-
69-
network_monitors_data.compact
70-
end
71-
end
72-
7354
##
7455
# Retrieve information about items that are available for upgrades.
7556
# :call-seq:

0 commit comments

Comments
 (0)