Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Matthias Rampke <[email protected]>
Signed-off-by: Joaquin Fernandez Campo <[email protected]>
  • Loading branch information
xocasdashdash and Matthias Rampke committed Jan 20, 2020
1 parent 07269ce commit d81bdf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func init() {

func dumpFSM(mapper *mapper.MetricMapper, dumpFilename string, logger log.Logger) error {
if mapper.FSM == nil {
return fmt.Errorf("FSM is not available. Posible due to the presence of regex patterns")
return fmt.Errorf("no FSM available to be dumped, possibly because the mapping contains regex patterns")
}
f, err := os.Create(dumpFilename)
if err != nil {
Expand Down

0 comments on commit d81bdf2

Please sign in to comment.