Skip to content

Commit

Permalink
clean as.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hengyunabc committed Oct 9, 2018
1 parent 89e39fb commit c3d2f1d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bin/as.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,6 @@ get_remote_version()
curl -sLk --connect-timeout ${SO_TIMEOUT} "${ARTHAS_REMOTE_VERSION_URL}" | sed 's/{.*latestVersion":"*\([0-9a-zA-Z\\.\\-]*\)"*,*.*}/\1/'
}

# make version format to comparable format like 000.000.(0){15}
# $1 : version
to_comparable_version()
{
echo ${1}|awk -F "." '{printf("%d.%d.%d\n",$1,$2,$3)}'
}

# update arthas if necessary
update_if_necessary()
{
Expand Down

0 comments on commit c3d2f1d

Please sign in to comment.