HomeClusterLabs Projects

Refactor: cts: Replace {shadow} strings in cts-cli where possible.
dde5246206cdUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: cts: Replace {shadow} strings in cts-cli where possible.

The string substitutions I was doing with s.format() through the
apply_substitutions function won't work once we move to f-strings. I
don't think that function is doing anything special, however, so we can
just get rid one substitution it's performing at a time.

This removes all uses of {shadow} that don't occur in a string with some
other substitution.

Details

Provenance
clumensAuthored on Jan 31 2025, 4:20 PM
Parents
rPf0f0b23c59bc: Refactor: cts: Fix a pyflake whitespace problem in cts-cli.
Branches
Unknown
Tags
Unknown

Event Timeline