Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit 5e36f40

Browse files
fix indent
1 parent f7760f7 commit 5e36f40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cli/publishsubscribe/datastore.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@ func saveDataStore() *cli.Command {
224224
return convert.MustCompactJson(jsonFormat)
225225
}
226226
indentJson := func(data string) string {
227-
var jsonFormat cios.PackerFormatJson
227+
var jsonFormat interface{}
228228
assert(convert.UnMarshalJson([]byte(data), &jsonFormat)).Log()
229229
return convert.MustIndentJson(jsonFormat)
230230
}
231231
job := func(channel cios.Channel, limit int64) {
232232
switch {
233-
case replaced != "" || indent:
233+
case replaced != "":
234234
packerFormat = "json"
235235
fallthrough
236236
case outputDir == "":

0 commit comments

Comments
 (0)