Skip to content

Conversation

@thardeck
Copy link
Collaborator

There were a few remaining linter warnings and I have added gocritic on top.

@thardeck thardeck self-assigned this Nov 21, 2025
@thardeck thardeck requested a review from a team as a code owner November 21, 2025 05:51
@thardeck thardeck added this to Fleet Nov 21, 2025
@thardeck thardeck moved this to 👀 In review in Fleet Nov 21, 2025
@thardeck thardeck force-pushed the fix_remaining_linter_warnings branch from 1b80020 to 5ed02c5 Compare November 21, 2025 06:27
Copy link
Contributor

@weyfonk weyfonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am a bit skeptical about this patch: some of it feels a bit like noise to me, although I do like reduced indenting (e.g. collapsing if blocks within else blocks into else if) and appending of values, but renaming variables... the current form of CA and TLS` prefixes, for instance, feels semantically more valuable to me than fixing their possible breaches of naming conventions.
Anyway, as always, happy to discuss :)


if _, ok := sample.Experiments[experiment]; !ok {
//fmt.Printf("missing experiment %s\n", name)
// fmt.Printf("missing experiment %s\n", name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... do we really care about a diff like this file's?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

3 participants