~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta6

« back to all changes in this revision

Viewing changes to src/gopkg.in/macaroon-bakery.v1/httpbakery/client.go

  • Committer: Nicholas Skaggs
  • Date: 2016-04-20 14:50:35 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20160420145035-m3aj05xazahybzxn
Merge beta5 upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        return fmt.Sprintf("cannot start interactive session: %v", e.Reason)
52
52
}
53
53
 
54
 
// IsInteractionError reports whether err is a *DischargeError.
 
54
// IsInteractionError reports whether err is an *InteractionError.
55
55
func IsInteractionError(err error) bool {
56
56
        _, ok := err.(*InteractionError)
57
57
        return ok