Skip to content

Commit 805594e

Browse files
rohansrinioci
authored andcommitted
Bug Fix Fixed the timestamp issue to corrected form
1 parent b9aade4 commit 805594e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/service/cloud_guard/cloud_guard_data_source_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ func ContinuousQueryStartPolicyToMap(obj *oci_cloud_guard.ContinuousQueryStartPo
750750
result["start_policy_type"] = "ABSOLUTE_TIME_START_POLICY"
751751

752752
if v.QueryStartTime != nil {
753-
result["query_start_time"] = v.QueryStartTime.Format(time.RFC3339Nano)
753+
result["query_start_time"] = v.QueryStartTime.Round(time.Millisecond).Format(time.RFC3339Nano)
754754
}
755755
case oci_cloud_guard.NoDelayStartPolicy:
756756
result["start_policy_type"] = "NO_DELAY_START_POLICY"

0 commit comments

Comments
 (0)