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

Fix/default parameter database dbname #104

Closed
wants to merge 2 commits into from

Conversation

Duologic
Copy link
Member

@Duologic Duologic commented Sep 8, 2022

Running CI for #97

AUGMELO and others added 2 commits September 8, 2022 14:45
Since the docs says the database is optional, I made it in the code to
option, because actually if you don't pass a value this following error
occurs:
```
Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
...
/home/runner/work/provider-sql/provider-sql/pkg/controller/mysql/grant/reconciler.go:143 +0x98
```

Signed-off-by: Augusto Melo <augustomelo@users.noreply.github.com>
Signed-off-by: Duologic <jeroen@simplistic.be>
Since we are quoting the database identifier we need remove back tick
from the regex

Signed-off-by: Augusto Melo <augustomelo@users.noreply.github.com>
Signed-off-by: Duologic <jeroen@simplistic.be>
@Duologic
Copy link
Member Author

#97 is merged now.

@Duologic Duologic closed this Nov 22, 2022
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.

2 participants