diff --git a/pkg/deploy/utils.go b/pkg/deploy/utils.go index e4bf8d2b..99c730f3 100644 --- a/pkg/deploy/utils.go +++ b/pkg/deploy/utils.go @@ -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 {