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

changed the message displayed when a key is not available in termui #1980

Merged

Conversation

bogdan-rosianu
Copy link
Contributor

changed the message displayed when a key is missing in TermUI from [key not found] to N/A. Before, that message wasn't displayed correctly and could lead to references to the validator key.

@bogdan-rosianu bogdan-rosianu added the type:feature New feature or request label Jun 19, 2020
@bogdan-rosianu bogdan-rosianu self-assigned this Jun 19, 2020
raduchis
raduchis previously approved these changes Jun 19, 2020
@bogdan-rosianu bogdan-rosianu linked an issue Jun 19, 2020 that may be closed by this pull request
@@ -6,7 +6,7 @@ import (
"github.com/ElrondNetwork/elrond-go/core"
)

const invalidKey = "[invalid key]"
const invalidKey = "N/A"
const invalidType = "[not a string]"
Copy link
Contributor

Choose a reason for hiding this comment

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

can we replace all default strings to N/A or something like this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

@LucianMincu LucianMincu left a comment

Choose a reason for hiding this comment

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

👍

@LucianMincu LucianMincu merged commit aee5d30 into release-candidate Jun 19, 2020
@LucianMincu LucianMincu deleted the change-termui-message-key-not-available branch June 19, 2020 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Invalid Keys
4 participants