print json

This commit is contained in:
Daniel-GrunbergerCA
2021-12-21 20:31:12 +02:00
parent 972793b98a
commit cfa3993b79
+1 -1
View File
@@ -173,7 +173,7 @@ func (opap *OPAProcessor) processRule(rule *reporthandling.PolicyRule) (*reporth
inputRawResources := workloadinterface.ListMetaToMap(inputResources)
jsonStr, _ := json.Marshal(inputRawResources)
fmt.Println(jsonStr)
fmt.Println(string(jsonStr))
ruleReport, err := opap.runOPAOnSingleRule(rule, inputRawResources, ruleData)
if err != nil {