-
Notifications
You must be signed in to change notification settings - Fork 1.9k
tctl resources: convert db #60360
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
tctl resources: convert db #60360
Conversation
f3c7362
to
3ecb677
Compare
return nil | ||
} | ||
|
||
func updateDatabase(ctx context.Context, client *authclient.Client, raw services.UnknownResource, opts CreateOpts) error { |
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.
this is new
// AltResourceNameFunc is a func that returns an alternative name for a resource. | ||
type AltResourceNameFunc[T types.ResourceWithLabels] func(T) string |
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.
moved some helpers (and their UT). no new logic.
UT initially failing in a case where multiple db resources in the same file for create. fix dd84871 |
related: