Browse Source

chore: Fix typo in dispenser.go (#3456)

master
Francis Lavoie 5 years ago
committed by GitHub
parent
commit
69b5643130
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      caddyconfig/caddyfile/dispenser.go

2
caddyconfig/caddyfile/dispenser.go

@ -40,7 +40,7 @@ func NewDispenser(tokens []Token) *Dispenser {
} }
// NewTestDispenser parses input into tokens and creates a new // NewTestDispenser parses input into tokens and creates a new
// Disenser for test purposes only; any errors are fatal. // Dispenser for test purposes only; any errors are fatal.
func NewTestDispenser(input string) *Dispenser { func NewTestDispenser(input string) *Dispenser {
tokens, err := allTokens("Testfile", []byte(input)) tokens, err := allTokens("Testfile", []byte(input))
if err != nil && err != io.EOF { if err != nil && err != io.EOF {

Loading…
Cancel
Save