Skip to content

Commit

Permalink
gc: Add docstring to exported func
Browse files Browse the repository at this point in the history
  • Loading branch information
jellonek committed Aug 11, 2017
1 parent 08f756d commit 7a1489e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/libvirttools/gc.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const (
nocloudFilenameTemplate = "nocloud-*.iso"
)

// GarbageCollect retrieves from metadata store list of container ids,
// passes it to all GC submodules, collecting from them list of
// possible errors, which is returned to outer scope
func (v *VirtualizationTool) GarbageCollect() (allErrors []error) {
ids, fatal, errors := v.retrieveListOfContainerIDs()
if errors != nil {
Expand Down

0 comments on commit 7a1489e

Please sign in to comment.