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: remove program from config without 'program:' prefix #124

Merged
merged 1 commit into from
Feb 24, 2019

Conversation

AlexStocks
Copy link
Contributor

Fix a fatal bug: remove program from config just by its program name without 'program:' prefix

@ochinchina
Copy link
Owner

A program in the entries is started with "program:", so if the prefix "program:" is removed, the program can't be removed.

@AlexStocks
Copy link
Contributor Author

@ochinchina have you tested your program when reload all programs? I committed this issue because I test that case and find this bug. And then I give a solution.

@ochinchina
Copy link
Owner

@AlexStocks After testing, there is a bug for the program management in the Config class. The key for a program in the entries should start with "program:" but it is missing. So if you can help to fix this bug by add "program:" prefix for a program in the entries.

@AlexStocks
Copy link
Contributor Author

AlexStocks commented Jan 27, 2019

It's my honour.

@ochinchina ochinchina merged commit bdd3dc3 into ochinchina:master Feb 24, 2019
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