Replies: 2 comments 1 reply
-
Result.success is initialized to false in the first line of the method. Are you encountering an issue with the behavior of this code? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes.
I'm setting up an Azure CI/CD pipeline with your source code coming from my repo.
I create the database beforehand so I have a connection string that I can put in my WebApp configuration.
When line 42 finds the connection string it tries to see if a tenant exists in line 52. When it fails due to the Tenant table not existing, the result is returned with a message Master Database Not Installed Correctly. But because the result was set to success in line 44, it never tries to create the database later on.
Also, I've summitted a suggestion to modify the configuration setup to add environment variables so they can be populated from Azure WebApp configuration.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sorry for not taking the time to create a pull request.
It seems that it more appropriate to consider IsInstalled to be successful if it can get a tenant.
Your thoughts?
Would it break anything?
Joe
Beta Was this translation helpful? Give feedback.
All reactions