Skip to content

Conversation

@doanac
Copy link
Member

@doanac doanac commented Oct 24, 2025

Callers of Extract and CheckIn can benefit from knowing if a config file actually changed.

internal/app.go Outdated

modtime, err := time.Parse(time.RFC1123, res.Header.Get("Date"))
modtime, err2 := time.Parse(time.RFC1123, res.Header.Get("Date"))
if err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if err != nil {
if err2 != nil {

Copy link
Member Author

Choose a reason for hiding this comment

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

nice catch. fixed in force push

Callers of `Extract` and `CheckIn` can benefit from knowing if a config
file actually changed.

Signed-off-by: Andy Doan <andy@foundries.io>
@doanac doanac force-pushed the config-changed-return branch from 77ed74a to 65c039a Compare October 24, 2025 15:26
@doanac doanac merged commit 65c039a into foundriesio:main Oct 24, 2025
2 checks passed
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.

3 participants