{"id":"0e00aefd10329f59","repo":"docker/cli","slug":"invalid-value-v","errorCode":null,"errorMessage":"invalid value : %+v","messagePattern":"invalid value : %\\+v","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cli/compose/loader/merge.go","lineNumber":228,"sourceCode":"\t\tdstMap, err := sliceToMap(tomap, dst)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsrcMap, err := sliceToMap(tomap, src)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tif err := mergo.Map(&dstMap, srcMap, mergo.WithOverride); err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn writeValue(dst, dstMap)\n\t}\n}\n\nfunc sliceToMap(tomap tomapFn, v reflect.Value) (map[any]any, error) {\n\t// check if valid\n\tif !v.IsValid() {\n\t\treturn nil, fmt.Errorf(\"invalid value : %+v\", v)\n\t}\n\treturn tomap(v.Interface())\n}\n\nfunc mergeLoggingConfig(dst, src reflect.Value) error {\n\tdstDriver := dst.Elem().FieldByName(\"Driver\").String()\n\tsrcDriver := src.Elem().FieldByName(\"Driver\").String()\n\n\t// Same driver, merging options\n\tif dstDriver == srcDriver || dstDriver == \"\" || srcDriver == \"\" {\n\t\tif dstDriver == \"\" {\n\t\t\tdst.Elem().FieldByName(\"Driver\").SetString(srcDriver)\n\t\t}\n\t\tdstOptions := dst.Elem().FieldByName(\"Options\").Interface().(map[string]string)\n\t\tsrcOptions := src.Elem().FieldByName(\"Options\").Interface().(map[string]string)\n\t\treturn mergo.Merge(&dstOptions, srcOptions, mergo.WithOverride)\n\t}\n\t// Different driver, override with src","sourceCodeStart":210,"sourceCodeEnd":246,"githubUrl":"https://github.com/docker/cli/blob/e9452d6e785f6e365712b9d71bd7517591773c86/cli/compose/loader/merge.go#L210-L246","documentation":"Error \"invalid value : %+v\" thrown in docker/cli.","triggerScenarios":"Thrown at cli/compose/loader/merge.go:228 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"e9452d6e785f6e365712b9d71bd7517591773c86","analyzedAt":"2026-08-01T07:09:22.474Z","schemaVersion":2}