We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7760f7 commit 5e36f40Copy full SHA for 5e36f40
1 file changed
cli/publishsubscribe/datastore.go
@@ -224,13 +224,13 @@ func saveDataStore() *cli.Command {
224
return convert.MustCompactJson(jsonFormat)
225
}
226
indentJson := func(data string) string {
227
- var jsonFormat cios.PackerFormatJson
+ var jsonFormat interface{}
228
assert(convert.UnMarshalJson([]byte(data), &jsonFormat)).Log()
229
return convert.MustIndentJson(jsonFormat)
230
231
job := func(channel cios.Channel, limit int64) {
232
switch {
233
- case replaced != "" || indent:
+ case replaced != "":
234
packerFormat = "json"
235
fallthrough
236
case outputDir == "":
0 commit comments