refactoring: log_event(), is_format_valid()

This commit is contained in:
Serghey Rodin 2016-06-24 16:31:43 +03:00
commit a61a6e979e
52 changed files with 582 additions and 1170 deletions

View file

@ -25,10 +25,8 @@ source $VESTA/conf/vesta.conf
check_args '2' "$#" 'IP IP_NAME'
is_format_valid 'ip'
if [ ! -z "$ip_name" ]; then
is_format_valid 'ip_name'
fi
is_ip_valid
is_format_valid 'ip_name'
is_ip_valid "$ip"
#----------------------------------------------------------#