diff --git a/cli/command_snapshot_create.go b/cli/command_snapshot_create.go index 900a029cb..a564dd708 100644 --- a/cli/command_snapshot_create.go +++ b/cli/command_snapshot_create.go @@ -173,7 +173,7 @@ func getTags(tagStrings []string) (map[string]string, error) { for _, tagkv := range tagStrings { parts := strings.SplitN(tagkv, ":", numberOfPartsInTagString) if len(parts) != numberOfPartsInTagString { - return nil, errors.New("Invalid tag format. Requires :") + return nil, errors.Errorf("Invalid tag format (%s). Requires :", tagkv) } key := tagKeyPrefix + parts[0]