Switch to using const for max sanitised app length.

This commit is contained in:
2023-10-04 18:58:20 +01:00
parent 2583fe2861
commit f85a3e40aa
3 changed files with 10 additions and 8 deletions

View File

@ -34,6 +34,8 @@ var REPOS_BASE_URL = "https://git.coopcloud.tech/coop-cloud"
var CATALOGUE_JSON_REPO_NAME = "recipes-catalogue-json"
var SSH_URL_TEMPLATE = "ssh://git@git.coopcloud.tech:2222/coop-cloud/%s.git"
const MAX_SANITISED_APP_NAME_LENGTH = 45
// GetServers retrieves all servers.
func GetServers() ([]string, error) {
var servers []string