bin/check-mesos.rb in sensu-plugins-mesos-0.1.0 vs bin/check-mesos.rb in sensu-plugins-mesos-0.1.1
- old
+ new
@@ -28,11 +28,11 @@
require 'sensu-plugin/check/cli'
require 'rest-client'
# Mesos default ports are defined here: http://mesos.apache.org/documentation/latest/configuration
-MASTER_DEFAULT_PORT = '5050'
-SLAVE_DEFAULT_PORT = '5051'
+MASTER_DEFAULT_PORT = '5050'.freeze
+SLAVE_DEFAULT_PORT = '5051'.freeze
class MesosNodeStatus < Sensu::Plugin::Check::CLI
option :server,
description: 'Mesos servers, comma separated',
short: '-s SERVER1,SERVER2,...',