mirror of
https://github.com/ceph/go-ceph
synced 2025-03-02 01:20:30 +00:00
rbd: deprecate Close() method of MirrorImageGlobalStatusIter
Signed-off-by: Sven Anderson <sven@redhat.com>
This commit is contained in:
parent
9edf093e7e
commit
6fe40e05fc
@ -710,10 +710,8 @@ func (iter *MirrorImageGlobalStatusIter) Next() (*GlobalMirrorImageIDAndStatus,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Close terminates iteration regardless if iteration was completed and
|
// Close terminates iteration regardless if iteration was completed and
|
||||||
// frees any associated resources.
|
// frees any associated resources. (DEPRECATED)
|
||||||
func (iter *MirrorImageGlobalStatusIter) Close() error {
|
func (*MirrorImageGlobalStatusIter) Close() error {
|
||||||
iter.buf = nil
|
|
||||||
iter.lastID = ""
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user