forked from x/icebergs
opt some
This commit is contained in:
parent
9d9920d36a
commit
30918cb70d
@ -57,8 +57,8 @@ func _status_tags(m *ice.Message) {
|
|||||||
return text
|
return text
|
||||||
}
|
}
|
||||||
if v, ok := vs[kit.Slice(strings.Split(ls[0], ice.PS), -1)[0]]; ok && ls[1] != v {
|
if v, ok := vs[kit.Slice(strings.Split(ls[0], ice.PS), -1)[0]]; ok && ls[1] != v {
|
||||||
m.Info("upgrade to %v %v from %v", ls[0], ls[1], v)
|
m.Info("upgrade %v %v to %v", ls[0], ls[1], v)
|
||||||
text = strings.Replace(text, v, ls[1], 1)
|
text = strings.ReplaceAll(text, ls[1], v)
|
||||||
change = true
|
change = true
|
||||||
}
|
}
|
||||||
return text
|
return text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user