~fgimenez/snappy-cloud-image/list-private-images

« back to all changes in this revision

Viewing changes to snappy-tests-job/main.go

  • Committer: Federico Gimenez
  • Date: 2015-09-11 07:28:32 UTC
  • mfrom: (63.1.3 remove-branches)
  • Revision ID: fgimenez@canonical.com-20150911072832-9fg7uzrxuxq2bhwg
mergedĀ lp:~fgimenez/snappy-tests-job/remove-branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import (
23
23
        "flag"
24
24
        "log"
25
 
        "os"
26
25
        "time"
27
26
 
28
27
        "launchpad.net/snappy-tests-job/cloud"
81
80
        if err != nil {
82
81
                log.Panicf("Error getting %s into %s", *src, sourcePath)
83
82
        }
84
 
        defer os.RemoveAll(sourcePath)
 
83
        defer sourceHandler.CleanUp()
85
84
 
86
85
        ipString := *ip
87
86
        if ipString == "" {