Skip to content

cfengine format ./controls/#3176

Open
olehermanse wants to merge 2 commits into
cfengine:masterfrom
olehermanse:master
Open

cfengine format ./controls/#3176
olehermanse wants to merge 2 commits into
cfengine:masterfrom
olehermanse:master

Conversation

@olehermanse

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
@olehermanse olehermanse marked this pull request as ready for review June 23, 2026 13:26
@olehermanse

Copy link
Copy Markdown
Member Author

@cf-bottom jenkins, please

@cf-bottom

Copy link
Copy Markdown

@nickanderson nickanderson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It feels too compact to me.

Comment thread controls/cf_agent.cf

# Minimum time (in minutes) which should have passed since the last time
# the promise was verified before it is checked again.
ifelapsed => "1";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This feels cramped and hard to scan visually. I would put a blank line between the attribute and the next comment.

Comment thread controls/cf_hub.cf

@craigcomstock craigcomstock left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree with Nick about the comments/attributes getting too squished to be easily read. I guess a change to the formatter might be in order for spacing attributes in some cases?

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants