pkg/services: fix ineffassign issues

This commit is contained in:
Mario Trangoni
2018-04-23 19:28:54 +02:00
parent 3a48ea8dde
commit 6eb00000fe
13 changed files with 28 additions and 35 deletions

View File

@@ -649,6 +649,9 @@ func (sc *scenarioContext) verifyUpdateChildDashboardPermissionsWithOverrideShou
}
_, err := sc.g.CheckPermissionBeforeUpdate(m.PERMISSION_ADMIN, permissionList)
if err != nil {
sc.reportFailure(tc, nil, err)
}
sc.updatePermissions = permissionList
ok, err := sc.g.CheckPermissionBeforeUpdate(m.PERMISSION_ADMIN, permissionList)