Skip to content

Commit

Permalink
Revert "attempt conversion to a slice"
Browse files Browse the repository at this point in the history
This reverts commit db4553c.
  • Loading branch information
pszmytka-viacom authored and clementnuss committed Feb 28, 2022
1 parent e53f3a8 commit 085b62b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cmd/synchronizer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,16 +202,11 @@ func (sc *syncConfig) synchronize() error {
return err
}
data[k] = w
} else {
slice, ok := v.([]byte)
if ok {
data[k] = slice
}
}
}

if len(data) == 0 {
log.Println("secret", v, "data conversion failed, skipping")
log.Println("secret", v, "is not a simple key-value, skipping")
continue
}

Expand Down

0 comments on commit 085b62b

Please sign in to comment.