Doron Fediuck has posted comments on this change.
Change subject: tools: notifier - add validation to mail type properties
......................................................................
Patch Set 1: I would prefer that you didn't submit this
(1 inline comment)
....................................................
File
backend/manager/tools/engine-notifier/engine-notifier-resources/src/main/resources/notifier.sh
Line 22: }
Line 23:
Line 24: check_email_format() {
Line 25: #exit with a message if the property is not in user@domain
format
Line 26: if [[ ! ${!1} == *@* ]] ; then
Please fix the above tab.
Can you please explain why using starts rather than quotes?
Line 27: die "Error: $1 must be of the form user@domain"
Line 28: fi
Line 29: }
Line 30:
--
To view, visit http://gerrit.ovirt.org/10775
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I652d6b7aa9ca34192d6892174bf57b11335cb98a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Noam Slomianko <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Noam Slomianko <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: ofri masad <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches