-
Notifications
You must be signed in to change notification settings - Fork 161
Slight refactor of scbctl #2682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slight refactor of scbctl #2682
Conversation
✅ Deploy Preview for docs-securecodebox canceled.
|
Signed-off-by: ddddddO <[email protected]>
3ae6971
to
80f408b
Compare
Signed-off-by: ddddddO <[email protected]>
@J12934 |
fyi @Freedisch Hi! |
Hi @ddddddO Thank you for taking a deeper look at this 🙌 Can you add yourself to the contributors file: https://github.com/secureCodeBox/secureCodeBox/blob/main/CONTRIBUTORS.md Then we should be ready to merge 😊 |
Signed-off-by: ddddddO <[email protected]>
|
Thanks for the review! |
The nikto test failures like 99.99% unrelated to this. Will try restarting it, will take a look at them if that doesn't help |
Any other PullRequest ci that is also failing😵 It appears that this test (nikto test) has been failing recently. Sorry I have no idea 🙇, but there has been a recent change in sullo/nikto (commits since sullo/nikto@890e895?), so maybe that has something to do with it. |
@J12934 |
Ok build now went through after a second fix 😊 Merge the PR now. Thanks again for the contribution and the patience 😅 |
I saw sullo/nikto#843 👍 Thank you very much! |
Description
Refactor scbctl👍!
Golang's map does not guarantee ordering, so I changed it from a map to a slice so that the result of each execution is the same each time.
I think it will solve the problem.
The following is a log of multiple runs of go test before and after the change at local.
Before
↓
After
Checklist
Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
Make sure that all your commits are signed-off and that you are added to the Contributors file.
Make sure that all CI finish successfully.
Optional (but appreciated): Make sure that all commits are Verified.