mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-24 16:57:53 +00:00
Merge pull request #316 from jcgruenhage/ansible
make ansible key generator a tiny bit faster
This commit is contained in:
commit
15750a5194
@ -117,6 +117,8 @@ func bubbleUpTo(sets []keySet, num int) []keySet {
|
|||||||
var tmp = sets[i]
|
var tmp = sets[i]
|
||||||
sets[i] = sets[i + 1]
|
sets[i] = sets[i + 1]
|
||||||
sets[i + 1] = tmp
|
sets[i + 1] = tmp
|
||||||
|
} else {
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return sets
|
return sets
|
||||||
|
Loading…
x
Reference in New Issue
Block a user