From 0790e498ad67a985d92778b80dcff8f6d4f93229 Mon Sep 17 00:00:00 2001 From: ppmaskaluk <115636608+ppmaskaluk@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:04:11 +0700 Subject: [PATCH] Fixed command port.go --- site24x7/monitors/port.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site24x7/monitors/port.go b/site24x7/monitors/port.go index 627dda4..36024d2 100644 --- a/site24x7/monitors/port.go +++ b/site24x7/monitors/port.go @@ -417,7 +417,7 @@ func updatePortMonitorResourceData(d *schema.ResourceData, monitor *api.PortMoni d.Set("use_ssl", monitor.UseSSL) d.Set("invert_port_check", monitor.InvertPortCheck) d.Set("application_type", monitor.ApplicationType) - d.Set("command", monitor.ApplicationType) + d.Set("command", monitor.Command) d.Set("check_frequency", monitor.CheckFrequency) d.Set("location_profile_id", monitor.LocationProfileID) d.Set("dependency_resource_ids", monitor.DependencyResourceIDs)