Skip to content

Commit db6ca83

Browse files
committed
remove debug logs
1 parent b9f10b8 commit db6ca83

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

cmd/push.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -62,24 +62,6 @@ var (
6262
return nil
6363
}
6464

65-
// Debug: log policy_execution_points before sending
66-
if pep, ok := data["policy_execution_points"]; ok {
67-
slog.Info("policy_execution_points in patch", "value", pep)
68-
} else {
69-
slog.Info("policy_execution_points NOT in patch")
70-
}
71-
if policies, ok := data["policies"]; ok {
72-
if pm, ok := policies.(map[string]any); ok {
73-
keys := make([]string, 0, len(pm))
74-
for k := range pm {
75-
keys = append(keys, k)
76-
}
77-
slog.Info("policies in patch", "count", len(pm), "ids", keys)
78-
}
79-
} else {
80-
slog.Info("policies NOT in patch")
81-
}
82-
8365
if err = app.Client.Write(
8466
cmd.Context(),
8567
data,

0 commit comments

Comments
 (0)