about summary refs log tree commit diff
path: root/context/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'context/context.go')
-rw-r--r--context/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/context/context.go b/context/context.go
index e6e3d4a12540..321d4fa42c81 100644
--- a/context/context.go
+++ b/context/context.go
@@ -204,7 +204,7 @@ func loadExplicitVars(vars *[]string) (map[string]interface{}, error) {
 	explicitVars := make(map[string]interface{}, len(*vars))
 
 	for _, v := range *vars {
-		varParts := strings.Split(v, "=")
+		varParts := strings.SplitN(v, "=", 2)
 		if len(varParts) != 2 {
 			return nil, fmt.Errorf(`invalid explicit variable provided (%s), name and value should be separated with "="`, v)
 		}