UpdateMaxVersion 修改版本号
(version int64)
| 202 | |
| 203 | // UpdateMaxVersion 修改版本号 |
| 204 | func (this *KVIPList) UpdateMaxVersion(version int64) error { |
| 205 | if this.isClosed { |
| 206 | return nil |
| 207 | } |
| 208 | |
| 209 | return this.versionsTable.Set("version", version) |
| 210 | } |
| 211 | |
| 212 | func (this *KVIPList) TestInspect(t *testing.T) error { |
| 213 | return this.ipTable. |