Skip to content

fix(workloads): remove dead env vars from chaos-disk systemd unit#78

Merged
mrhillsman merged 1 commit into
mainfrom
fix/63-chaos-disk-mountpoint-consolidation
May 23, 2026
Merged

fix(workloads): remove dead env vars from chaos-disk systemd unit#78
mrhillsman merged 1 commit into
mainfrom
fix/63-chaos-disk-mountpoint-consolidation

Conversation

@mrhillsman

Copy link
Copy Markdown
Contributor

The systemd unit template set Environment directives (CHAOS_DISK_MOUNT, CHAOS_DISK_FILL_PERCENT, etc.) that the script never read — values were already baked in via fmt.Sprintf. This removed the dead env vars and converted the unit from a format template to a plain constant, matching the pattern used by chaos-network.

Coincides with 0fcc424

Closes #63

The systemd unit template set Environment directives (CHAOS_DISK_MOUNT,
CHAOS_DISK_FILL_PERCENT, etc.) that the script never read — values were
already baked in via fmt.Sprintf. This removed the dead env vars and
converted the unit from a format template to a plain constant, matching
the pattern used by chaos-network.

Closes #63

Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
@exe-prow-github-app
exe-prow-github-app Bot requested a review from OchiengEd May 23, 2026 05:07
@exe-prow-github-app

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrhillsman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@exe-prow-github-app exe-prow-github-app Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 23, 2026
@mrhillsman
mrhillsman removed the request for review from OchiengEd May 23, 2026 05:11
@mrhillsman
mrhillsman merged commit b59da2d into main May 23, 2026
3 of 4 checks passed
@mrhillsman
mrhillsman deleted the fix/63-chaos-disk-mountpoint-consolidation branch May 24, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tech Debt]: chaos-disk mountpoint is hardcoded in two places that can drift apart

1 participant