-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
for helm/ansible fix msg for multigroup support #3822
for helm/ansible fix msg for multigroup support #3822
Conversation
Hi @joelanford, The problem is solved as suggested. By justing changing the msg. Feel free to check. |
Co-authored-by: Joe Lanford <[email protected]>
Co-authored-by: Joe Lanford <[email protected]>
Co-authored-by: Joe Lanford <[email protected]>
@@ -88,8 +87,7 @@ func (s *apiScaffolder) scaffold() error { | |||
|
|||
// Check that the provided group can be added to the project | |||
if !s.config.MultiGroup && len(s.config.Resources) != 0 && !s.config.HasGroup(resourceOptions.Group) { | |||
return fmt.Errorf("multiple groups are not allowed by default, to enable multi-group visit %s", | |||
"kubebuilder.io/migration/multi-group.html") | |||
return errors.New("support for multiple groups is disabled; to enable, set `multigroup: true` in the PROJECT file") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency with the Go error:
return errors.New("support for multiple groups is disabled; to enable, set `multigroup: true` in the PROJECT file") | |
return errors.New("multiple groups are not allowed by default, to enable multi-group set 'multigroup: true' in your PROJECT file") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@joe i am moving forward with since all your changes were suggested and it is very tiny/small
Description of the change:
Ansible/Helm fix mensagem for multigroup support
Motivation for the change:
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments
(seechangelog/fragments/00-template.yaml
)website/content/en/docs