Skip to content

Commit

Permalink
createSnapshotName() positional typo #68 (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksegal authored Nov 14, 2018
1 parent f20702a commit 1b383bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcloud-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ createSnapshotName()
local device_name_len=`expr ${name_max_len} - ${#req_chars}`

# shorten the device name
local device_name=${1:0:device_name_len}
local device_name=${2:0:device_name_len}

# create new (acceptable) snapshot name
name="$1-${device_name}-$3" ;
Expand Down

0 comments on commit 1b383bc

Please sign in to comment.