mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
added comments
This commit is contained in:
@@ -314,6 +314,7 @@ func AddServerIDIfNotPresent() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// GetServerCount - fetches server count from DB
|
||||
func GetServerCount() int {
|
||||
if record, err := database.FetchRecord(database.SERVERCONF_TABLE_NAME, server_id_key); err == nil {
|
||||
currentServerIDs := models.ServerIDs{}
|
||||
|
Reference in New Issue
Block a user