~mvo/snappy/15.04-ppp-config

« back to all changes in this revision

Viewing changes to snappy/systemimage.go

  • Committer: John R. Lenton
  • Date: 2015-04-02 23:42:34 UTC
  • mto: (289.7.1 progress-status)
  • mto: This revision was merged to the branch mainline in revision 310.
  • Revision ID: jlenton@gmail.com-20150402234234-6ht2hh4ala60yrom
move progress to its own package

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
        "launchpad.net/snappy/coreconfig"
31
31
        "launchpad.net/snappy/partition"
 
32
        "launchpad.net/snappy/progress"
32
33
 
33
34
        "github.com/mvo5/goconfigparser"
34
35
)
143
144
}
144
145
 
145
146
// Install installs the snap
146
 
func (s *SystemImagePart) Install(pb ProgressMeter, flags InstallFlags) (name string, err error) {
 
147
func (s *SystemImagePart) Install(pb progress.Meter, flags InstallFlags) (name string, err error) {
147
148
        if pb != nil {
148
149
                // ensure the progress finishes when we are done
149
150
                defer func() {