Skip to content

Commit

Permalink
Rename VirStream's Finish() to Close() for io.Closer
Browse files Browse the repository at this point in the history
  • Loading branch information
robxu9 authored and Alex Zorin committed Aug 2, 2014
1 parent ef5d230 commit f05ab1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (v *VirStream) Abort() error {
return nil
}

func (v *VirStream) Finish() error {
func (v *VirStream) Close() error {
result := C.virStreamFinish(v.ptr)
if result == -1 {
return errors.New(GetLastError())
Expand Down

0 comments on commit f05ab1d

Please sign in to comment.