Skip to content

Commit

Permalink
Fix nil return that should have been err
Browse files Browse the repository at this point in the history
  • Loading branch information
ned committed Feb 20, 2016
1 parent ca42e8d commit 8a26c08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion function/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func (f *Function) Create(zip []byte) error {
})

if err != nil {
return nil
return err
}

f.Log.WithFields(log.Fields{
Expand Down
2 changes: 1 addition & 1 deletion function/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type Cleaner interface {
Clean(*Function) error
}

// Deployer reacts to the Open hook.
// Deployer reacts to the Deploy hook.
type Deployer interface {
Deploy(*Function) error
}
Expand Down

0 comments on commit 8a26c08

Please sign in to comment.