addressed majority of static checks

This commit is contained in:
0xdcarns
2023-01-24 11:20:06 -05:00
parent a710ac3570
commit 706bba0593
8 changed files with 36 additions and 73 deletions

View File

@@ -1,8 +1,6 @@
package logic
import (
"strings"
"github.com/google/uuid"
"github.com/gravitl/netmaker/models"
)
@@ -33,9 +31,3 @@ func EnterpriseCheck() {
check()
}
}
// == Private ==
func isDeleteError(err error) bool {
return err != nil && strings.Contains(err.Error(), models.NODE_DELETE)
}