diggerhq / digger

Digger is an open source IaC orchestration tool. Digger allows you to run IaC in your existing CI pipeline ⚡️
https://digger.dev
Apache License 2.0
4.3k stars 577 forks source link

fix the nil substitution in %s #1837

Closed motatoes closed 4 days ago

motatoes commented 4 days ago

to avoid these kinds of messages in logs:

Failed to run commands. %!!(MISSING)s(<nil>)

(golang cant substitute nil value in place of %s so %v is safer)

delve-auditor[bot] commented 4 days ago

No security or compliance issues detected. Reviewed everything up to 25795405fcf9d50fd61fe7e502ee3808d31e9ea4.

Security Overview - 🔎 **Scanned files:** 1 changed file(s)
Detected Code Changes | Change Type | Relevant files | |------------|----------------| | Bug Fix | ► spec.go
    Fix string formatting for error messages using %v instead of %s |

Reply to this PR with @delve-auditor followed by a description of what change you want and we'll auto-submit a change to this PR to implement it.