mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
cmd/stcli: Fix metalint ineffasign complaint
This commit is contained in:
parent
3c2ac3522c
commit
920a83ec7a
@ -57,7 +57,7 @@ func prettyPrintJSON(json map[string]interface{}) {
|
|||||||
}
|
}
|
||||||
sort.Strings(jsonKeys)
|
sort.Strings(jsonKeys)
|
||||||
for _, k := range jsonKeys {
|
for _, k := range jsonKeys {
|
||||||
value := ""
|
var value string
|
||||||
rvalue := remap[k]
|
rvalue := remap[k]
|
||||||
switch rvalue.(type) {
|
switch rvalue.(type) {
|
||||||
case int, int16, int32, int64, uint, uint16, uint32, uint64, float32, float64:
|
case int, int16, int32, int64, uint, uint16, uint32, uint64, float32, float64:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user