5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-09 16:20:26 +00:00

make ansible key generator a tiny bit faster

This commit is contained in:
Jan Christian Grünhage 2019-01-25 21:28:22 +01:00
parent ad6ec6ab11
commit 2baedc9bcc

View File

@ -117,6 +117,8 @@ func bubbleUpTo(sets []keySet, num int) []keySet {
var tmp = sets[i]
sets[i] = sets[i + 1]
sets[i + 1] = tmp
} else {
break
}
}
return sets