Adding flags to take in JSON from the command line.
This commit is contained in:
parent
1497aca2bb
commit
e0d400e85c
9 changed files with 45 additions and 20 deletions
|
@ -61,7 +61,7 @@ func monitorHost(cmd *cobra.Command, args []string) {
|
|||
}
|
||||
|
||||
log.Infof("Monitoring for %v at %v intervals", monitorHostCmd.monitorTimeout, monitorHostCmd.monitorInterval)
|
||||
hostResult, err := client.HostMaintenanceMonitor(args, maintenanceModes, monitorHostCmd.monitorInterval, monitorHostCmd.monitorTimeout)
|
||||
hostResult, err := client.MonitorHostMaintenance(args, maintenanceModes, monitorHostCmd.monitorInterval, monitorHostCmd.monitorTimeout)
|
||||
|
||||
maintenanceMonitorPrint(hostResult, maintenanceModes)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue