From 0bc308c65f59bb2b0aca35a285f000658934167c Mon Sep 17 00:00:00 2001 From: C Cirello Date: Thu, 1 Dec 2016 19:28:08 +0100 Subject: [PATCH] fn: fix max_concurrency marshal tag (#375) --- fn/funcfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fn/funcfile.go b/fn/funcfile.go index 198744c13..9e3eb666e 100644 --- a/fn/funcfile.go +++ b/fn/funcfile.go @@ -33,7 +33,7 @@ type funcfile struct { Memory *int64 `yaml:"memory,omitempty",json:"memory,omitempty"` Format *string `yaml:"format,omitempty",json:"format,omitempty"` Timeout *time.Duration `yaml:"timeout,omitempty",json:"timeout,omitempty"` - MaxConcurrency *int `yaml:"int,omitempty",json:"int,omitempty"` + MaxConcurrency *int `yaml:"max_concurrency,omitempty",json:"max_concurrency,omitempty"` Headers map[string][]string `yaml:"headers,omitempty",json:"headers,omitempty"` Config map[string]string `yaml:"config,omitempty",json:"config,omitempty"` Build []string `yaml:"build,omitempty",json:"build,omitempty"`