Skip to content

Commit deb68f5

Browse files
committed
chore(config): change config key pattern
1 parent bb0f148 commit deb68f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func (d *DryccCmd) ConfigPush(appID, procType string, fileName string) error {
235235
func parseConfig(configVars []string) (api.ConfigValues, error) {
236236
configMap := make(api.ConfigValues)
237237

238-
regex := regexp.MustCompile(`^([A-z_]+[A-z0-9_]*)=([\s\S]*)$`)
238+
regex := regexp.MustCompile(`^([A-z0-9_\-\.]+)=([\s\S]*)$`)
239239
for _, config := range configVars {
240240
// Skip config that starts with an comment
241241
if config[0] == '#' {

0 commit comments

Comments
 (0)