Skip to content

Fix --mute flag being ignored - #713

Merged
dharmab merged 1 commit into
mainfrom
fix/mute-flag
Jul 26, 2026
Merged

Fix --mute flag being ignored#713
dharmab merged 1 commit into
mainfrom
fix/mute-flag

Conversation

@dharmab

@dharmab dharmab commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Context

Split off from #712, which found this while working in the same area.

cmd/skyeye/main.go sets conf.Configuration.Mute from the --mute flag, but internal/application/app.go never passed it into srs.ClientConfiguration when constructing the SRS client. The field already existed on ClientConfiguration - it just wasn't wired up, so the flag was a silent no-op.

Fix

Pass config.Mute through in NewApplication.

Testing

make vet

🤖 Generated with Claude Code

cmd/skyeye/main.go set conf.Configuration.Mute from the flag, but app.go
never passed it into srs.ClientConfiguration, so the SRS client always
transmitted regardless of the flag.

Co-Authored-By: Claude <noreply@anthropic.com>
@dharmab
dharmab merged commit ab0d024 into main Jul 26, 2026
10 checks passed
@dharmab
dharmab deleted the fix/mute-flag branch July 26, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant