Satisfy linter

parent c5511798
Pipeline #837 passed with stages
in 2 minutes and 21 seconds
......@@ -116,7 +116,9 @@ func verifyPassive(valKnowledgeMap *KnowledgeMap, valPrincipalStates []*Principa
for phase <= valKnowledgeMap.MaxPhase {
attackerStateInit(false)
valPrincipalStatePureResolved := constructPrincipalStateClone(valPrincipalStates[0], true)
valPrincipalStatePureResolved, err := valueResolveAllPrincipalStateValues(valPrincipalStatePureResolved, attackerStateGetRead())
valPrincipalStatePureResolved, err := valueResolveAllPrincipalStateValues(
valPrincipalStatePureResolved, attackerStateGetRead(),
)
if err != nil {
return err
}
......
......@@ -17,7 +17,9 @@ func verifyActive(valKnowledgeMap *KnowledgeMap, valPrincipalStates []*Principal
InfoMessage(fmt.Sprintf("Running at phase %d.", phase), "info", false)
attackerStateInit(true)
valPrincipalStatePureResolved := constructPrincipalStateClone(valPrincipalStates[0], true)
valPrincipalStatePureResolved, err := valueResolveAllPrincipalStateValues(valPrincipalStatePureResolved, attackerStateGetRead())
valPrincipalStatePureResolved, err := valueResolveAllPrincipalStateValues(
valPrincipalStatePureResolved, attackerStateGetRead(),
)
if err != nil {
return err
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment