Skip to content

Commit

Permalink
Minor tidy-ups
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac committed Feb 14, 2019
1 parent 69c06a7 commit d442ee3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/jetstream/plugins/userinvite/email.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
package userinvite

import (
// "encoding/json"
"bytes"
"errors"
"fmt"

// "io/ioutil"
// "net/http"
// "net/url"
"net/smtp"
// "regexp"
"strings"

"github.com/cloudfoundry-incubator/stratos/src/jetstream/repository/interfaces"
Expand Down Expand Up @@ -82,7 +76,7 @@ func (invite *UserInvite) SendEmail(emailAddress, inviteLink string, endpoint in
if err == nil {
mail.Subject(subject.String())
} else {
log.Warn("User Invite: Failed to render the Subject template: %s", err.Error())
log.Warnf("User Invite: Failed to render the Subject template: %s", err.Error())
}
}

Expand Down

0 comments on commit d442ee3

Please sign in to comment.