diff --git a/payload.go b/payload.go index e7cf773..6a7004e 100644 --- a/payload.go +++ b/payload.go @@ -293,12 +293,12 @@ func initMetadata(project string) error { // LoadMetadataFromFile expects file in format: // // [ payload A identifier ] -// key1 : value1 -// key2 : value2 +// key1 = value1 +// key2 = value2 // ... // [ payload B identifier ] -// key1 : value1 -// key2 : value2 +// key1 = value1 +// key2 = value2 // ... // // TODO(marko): Currently supports only one hardcoded language... @@ -329,7 +329,7 @@ func LoadMetadataFromFile(path string) error { return fmt.Errorf("webutility: LoadMetadataFromFile: error on line %d: [no header] [%s]", i+1, l) } - parts := strings.Split(l, ":") + parts := strings.Split(l, "=") if len(parts) != 2 { return fmt.Errorf("webutility: LoadMetadataFromFile: error on line %d: [invalid format] [%s]", i+1, l) }