implement api cleanup

This commit is contained in:
Martin Geno 2016-05-17 10:47:01 +02:00
parent b7290c54c9
commit 668de8188d
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func (api *ApiAliases) cleaner(){
//counter for the diffrent attribute
count := 1
if alias.Hostname == nodeinfo.Hostname {
count -= 0
count -= 1
}
//delete element
if count <= 0 {