Skip to content

fix(inspect): pre-existing golangci-lint issues in inspect package (44 staticcheck, 4 goconst) #106

@CodeMonkeyCybersecurity

Description

Context

Running `golangci-lint run ./pkg/inspect/` reports 51 issues, none in `docker.go` (fixed in #103) but many in surrounding files.

Issues

  • 44 staticcheck QF1012: `WriteString(fmt.Sprintf(...))` should be `fmt.Fprintf(...)` in output.go and terraform_modular.go
  • 4 goconst: repeated strings should be constants (`bridge`, `active`, `UUID`, `psql`)
  • 1 errcheck: unchecked `filepath.Glob` error in services.go
  • 1 gosec G204: subprocess launched with variable in inspector.go
  • 7 ST1000: missing package comments

Priority

P2 - these are code quality issues, not functional bugs.

Scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions