Skip to content

Commit

Permalink
Update to goflow v0.41.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed May 27, 2019
1 parent e970038 commit 748cedd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require (
github.com/mattn/go-sqlite3 v1.10.0 // indirect
github.com/nyaruka/ezconf v0.2.1
github.com/nyaruka/gocommon v1.0.0
github.com/nyaruka/goflow v0.40.3
github.com/nyaruka/goflow v0.41.0
github.com/nyaruka/librato v0.0.0-20180827155909-cacc769357b8
github.com/nyaruka/logrus_sentry v0.8.2-0.20190129182604-c2962b80ba7d
github.com/nyaruka/null v1.1.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ github.com/nyaruka/gocommon v0.2.0 h1:1Le4Ok0Zp2RYULue0n4/02zL+1MrykN/C79HhirGeR
github.com/nyaruka/gocommon v0.2.0/go.mod h1:ZrhaOKNc+kK1qWNuCuZivskT+ygLyIwu4KZVgcaC1mw=
github.com/nyaruka/gocommon v1.0.0 h1:4gdAMOR4BTMHHZjOy5WhfKYGUZVmJ+3LPh1sj011Qzk=
github.com/nyaruka/gocommon v1.0.0/go.mod h1:QbdU2J9WBsqBmeZRuwndf2f6O7rD7mkC0bGn5UNnwjI=
github.com/nyaruka/goflow v0.40.3 h1:lQoBdiY1cwg+HVt/Fi+DsH27T/ys1rD6kpnAmpPkh9g=
github.com/nyaruka/goflow v0.40.3/go.mod h1:QitrAujTi7Mc75aVIoCpAmFsfO794+ljo9QNGt7qSHY=
github.com/nyaruka/goflow v0.41.0 h1:Z2UIVdtL++JdvpzOeuBR2EoY8mGR18TBcmNRaWGQVB8=
github.com/nyaruka/goflow v0.41.0/go.mod h1:QitrAujTi7Mc75aVIoCpAmFsfO794+ljo9QNGt7qSHY=
github.com/nyaruka/librato v0.0.0-20180827155909-cacc769357b8 h1:TOvxy0u6LNTWP3gwbdNVCiByXJupr9ATFdzBnBJ2TY8=
github.com/nyaruka/librato v0.0.0-20180827155909-cacc769357b8/go.mod h1:huVocfMEHkttMHD4hSr/wjWNyTx/YMzwwajVzV2bq+0=
github.com/nyaruka/logrus_sentry v0.8.2-0.20190129182604-c2962b80ba7d h1:hyp9u36KIwbTCo2JAJ+TuJcJBc+UZzEig7RI/S5Dvkc=
Expand Down
2 changes: 1 addition & 1 deletion models/flows.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (f *Flow) SetLegacyDefinition(legacyDefinition json.RawMessage) error {
}

// migrate forwards returning our final flow definition
newFlow, err := legacyFlow.Migrate(false, "https://"+config.Mailroom.AttachmentDomain)
newFlow, err := legacyFlow.Migrate("https://" + config.Mailroom.AttachmentDomain)
if err != nil {
return errors.Wrapf(err, "error migrating flow: %s", legacyDefinition)
}
Expand Down
2 changes: 1 addition & 1 deletion web/flow/flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func readFlow(flowDef json.RawMessage) (flows.Flow, error) {
return nil, err
}

flow, err = legacyFlow.Migrate(true, "https://"+config.Mailroom.AttachmentDomain)
flow, err = legacyFlow.Migrate("https://" + config.Mailroom.AttachmentDomain)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 748cedd

Please sign in to comment.