You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/06/17 16:22:17 UTC
[GitHub] [incubator-devlake] mappjzc opened a new issue, #2256: service init use enckey before it be setting on main
mappjzc opened a new issue, #2256:
URL: https://github.com/apache/incubator-devlake/issues/2256
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
### What happened
In [services/init.go](https://github.com/apache/incubator-devlake/tree/main/services/init.go)
it is init before [main.go](https://github.com/apache/incubator-devlake/tree/main/main.go)
But the encKey are being initialization at the main()
The services init needed encKey for connction.
So it will visit encKey before it initialization .
### What you expected to happen
services init() after encKey initialization.
### How to reproduce
run init() in main() to control init timing.
### Anything else
_No response_
### Version
main
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh closed issue #2256: service init use enckey before it be setting on main
Posted by GitBox <gi...@apache.org>.
klesh closed issue #2256: service init use enckey before it be setting on main
URL: https://github.com/apache/incubator-devlake/issues/2256
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org