Hides a perviously exported struct. Shortens a line that was too long.

This commit is contained in:
Renan DelValle 2019-06-28 10:21:51 -07:00
parent cbac86cb20
commit 125025157b
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
5 changed files with 19 additions and 16 deletions

View file

@ -21,7 +21,7 @@ import (
"github.com/spf13/cobra"
)
var stopMaintenanceConfig = MonitorCmdConfig{}
var stopMaintenanceConfig = monitorCmdConfig{}
func init() {
rootCmd.AddCommand(stopCmd)
@ -46,7 +46,7 @@ var stopCmd = &cobra.Command{
Short: "Stop a service or maintenance on a host (DRAIN).",
}
var stopMaintCmd = MonitorCmdConfig{
var stopMaintCmd = monitorCmdConfig{
cmd: &cobra.Command{
Use: "drain [space separated host list]",
Short: "Stop maintenance on a host (move to NONE).",