From 79f94fe0267ede4d29a56091310f523205180684 Mon Sep 17 00:00:00 2001 From: Emmanuel Odeke Date: Mon, 23 Nov 2015 04:52:26 -0700 Subject: [PATCH] rc: fix premature string array conversion CSV values get parsed in the cmd/drive/main.go command after they've already been parsed from the RC. The remedy here is to pass back such values as they are to be handled appropriately. --- src/rc.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rc.go b/src/rc.go index 3998d592..8417916d 100644 --- a/src/rc.go +++ b/src/rc.go @@ -103,11 +103,12 @@ func parseRCValues(rcMap map[string]string) (valueMappings map[string]interface{ { resolver: _stringfer, keys: []string{ CLIOptionNotOwner, ExportsDirKey, CLIOptionExactTitle, AddressKey, + ExportsKey, ExcludeOpsKey, }, }, { resolver: _stringArrayfer, keys: []string{ - ExportsKey, ExcludeOpsKey, + // Add items that might need string array parsing and conversion here }, }, }