We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ccd2c commit 4702009Copy full SHA for 4702009
internal/fleet/agent_policy/models.go
@@ -43,6 +43,13 @@ func (model *agentPolicyModel) populateFromAPI(data *fleetapi.AgentPolicy) {
43
model.MonitorMetrics = types.BoolValue(true)
44
}
45
46
+ if model.MonitorLogs.IsUnknown() {
47
+ model.MonitorLogs = types.BoolNull()
48
+ }
49
50
51
52
+
53
model.MonitoringOutputId = types.StringPointerValue(data.MonitoringOutputId)
54
model.Name = types.StringValue(data.Name)
55
model.Namespace = types.StringValue(data.Namespace)
0 commit comments