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/check empty password #663

Merged
merged 4 commits into from
Jan 27, 2021
Merged

Fix/check empty password #663

merged 4 commits into from
Jan 27, 2021

Conversation

jdknives
Copy link
Member

Did you run make format && make check?

Yes

Fixes #660 at least the bug. The inconsistency remains.

Changes:

  • adds check to verify if password is empty. If password is empty, the appupdater is being created. Previously empty string password would lead to appdiscupdater not being created which is not the correct behavior.

How to test this PR:

Copy link
Contributor

@Darkren Darkren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! But I'm afraid it may panic. Not sure though

pkg/app/appdisc/factory.go Outdated Show resolved Hide resolved
Copy link
Contributor

@i-hate-nicknames i-hate-nicknames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! I would move argVal function to pkg/app/appcommon/proc_config.go, since it's a generic arg operation

@jdknives
Copy link
Member Author

Great job! I would move argVal function to pkg/app/appcommon/proc_config.go, since it's a generic arg operation

Probably a good idea. will do that.

@jdknives jdknives merged commit e398e87 into skycoin:develop Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Skywire v0.4.0
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

3 participants