mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 12:16:13 +02:00
allow for null 5th parameter
Change-Id: Ib2fa030b52403a293f379f8c4ffa8e81ec5c2840
This commit is contained in:
parent
2c6ffb8c95
commit
32e73d7783
@ -228,7 +228,7 @@ function cell {
|
||||
spec=${3:-3+1}
|
||||
spec=${spec/+/%2B}
|
||||
user=${4:-$(id -un)}
|
||||
hint=${5:""}
|
||||
hint=${5:-""}
|
||||
query="duration=$duration&spec=$spec&user=$user&cellNameHint=$hint"
|
||||
curl -sS -X POST "http://$CELL_WARDEN:4321/?$query" -d "$(cat ~/.ssh/id_rsa.pub)" > $aux
|
||||
. $aux
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user