~jamesodhunt/snappy/log+syslog-logging

« back to all changes in this revision

Viewing changes to snappy/remove.go

  • Committer: Snappy Tarmac
  • Author(s): Michael Vogt
  • Date: 2015-02-13 14:42:00 UTC
  • mfrom: (169.3.20 golint)
  • Revision ID: snappy_tarmac-20150213144200-v6tgnltjqzua9fd2
Adds "go lint" as part of the .tarmac.sh runs and fix
a lot of the complaints. Two warnings are currently muted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
        }
23
23
 
24
24
        if part == nil {
25
 
                return PackageNotFoundErr
 
25
                return ErrPackageNotFound
26
26
        }
27
27
        if err := part.Uninstall(); err != nil {
28
28
                return err