docs: update comment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
3wc
2025-09-09 17:37:36 -04:00
parent 26c920e570
commit f53ba48efa

View File

@ -35,7 +35,7 @@ func MergeAbraShEnv(recipe recipe.Recipe, env envfile.AppEnv) error {
return nil
}
// GetEntityNameAndVersion parses a full config name like `app_example_com_someconf_v1` to extract name and version, ("someconf", "v1")
// GetEntityNameAndVersion parses a full name like `app_example_com_someconf_v1` to extract name and version, ("someconf", "v1")
func GetEntityNameAndVersion(fullName string, stackName string) (string, string, error) {
name := strings.TrimPrefix(fullName, stackName+"_")
if lastUnderscore := strings.LastIndex(name, "_"); lastUnderscore != -1 {