OCSInventory-NG / OCSInventory-Server

Communication server of OCS Inventory
http://www.ocsinventory-ng.org/
GNU General Public License v2.0
340 stars 138 forks source link

Prevent SQL duplicate entry error #427

Closed charleneauger closed 1 year ago

charleneauger commented 1 year ago

Important notes

Please, don't mistake OCSInventory-server with OCSInventory-ocsreports :

General informations

Operating system :

Server informations

Perl version : Mysql / Mariadb / Percona version :

Status

READY

Description

A few sentences describing the overall goals of the pull request's commits.

github-actions[bot] commented 1 year ago

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 3 0 0.02s
✅ BASH bash-exec 3 0 0.02s
✅ BASH shfmt 3 0 0 0.02s
✅ JSON eslint-plugin-jsonc 3 0 0 1.68s
✅ JSON jsonlint 3 0 0.25s
✅ JSON prettier 3 0 0 0.61s
✅ MARKDOWN markdownlint 5 0 0 0.51s
✅ MARKDOWN markdown-link-check 5 0 10.86s
✅ MARKDOWN markdown-table-formatter 5 0 0 0.34s
✅ OPENAPI spectral 1 0 2.74s
❌ PERL perlcritic 70 75 83.28s
✅ POWERSHELL powershell 2 0 3.7s
✅ POWERSHELL powershell_formatter 2 0 2.59s
✅ REPOSITORY dustilock yes no 0.03s
✅ REPOSITORY gitleaks yes no 7.84s
✅ REPOSITORY git_diff yes no 0.02s
✅ REPOSITORY secretlint yes no 1.28s
✅ REPOSITORY syft yes no 0.18s
✅ REPOSITORY trivy yes no 5.81s
✅ YAML prettier 4 0 0 0.93s
✅ YAML yamllint 4 0 0.33s

See detailed report in MegaLinter reports

You could have same capabilities but better runtime performances if you request a new MegaLinter flavor.

_MegaLinter is graciously provided by OX Security_