Skip to content

Commit 86b7d33

Browse files
committed
Shorten status descriptions constant for network monitor query result
1 parent dd49e37 commit 86b7d33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/softlayer/NetworkMonitor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def initialize(monitor_levels_data)
2222
class NetworkMonitorQueryResult < Struct.new(:finished_at, :responded_in, :response_status)
2323
##
2424
# This constant is a mapping of network monitor query result statuses to descriptions
25-
QUERY_RESULT_STATUS_DESCRIPTIONS = {
25+
STATUS_DESCRIPTIONS = {
2626
0 => "Down/Critical: Server is down and/or has passed the critical response threshold (extremely long ping response, abnormal behavior, etc.).",
2727
1 => "Warning - Server may be recovering from a previous down state, or may have taken too long to respond.",
2828
2 => "Up",

0 commit comments

Comments
 (0)