Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --mode to syncer; default to additive #435

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jan-g
Copy link
Contributor

@jan-g jan-g commented Feb 19, 2025

This change should be a no-op thus far; it needs a follow-up to make v1 default to declarative and v2 default to additive.

@CLAassistant
Copy link

CLAassistant commented Feb 19, 2025

CLA assistant check
All committers have signed the CLA.

@jan-g jan-g force-pushed the jg-add-mode-to-syncer branch from bc28a27 to 156fa69 Compare February 20, 2025 11:15
Copy link
Contributor

@chrisseto chrisseto left a comment

Choose a reason for hiding this comment

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

LGTM!

case "declarative":
return SyncerModeDeclarative, nil
}
return SyncerModeAdditive, ErrSyncerMode
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: for clarity on the CLI output: errors.Wrapf(ErrSyncerMode, "%s", m)

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