mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
addressed majority of static checks
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user