1
0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-03-20 20:48:59 +01:00

Minor changes

This commit is contained in:
Matthew Holt 2016-04-18 09:43:21 -06:00
parent 2b51be7fd7
commit 924b53eb3c
2 changed files with 3 additions and 3 deletions
dist
middleware

4
dist/CHANGES.txt vendored
View file

@ -1,8 +1,8 @@
CHANGES CHANGES
<master> <master>
- Built with Go 1.6.1 - Built with Go 1.6.2
- New pprof directive for exposing process performance profile - New pprof directive for exposing process profiling endpoints
- New expvar directive for exposing memory/GC performance - New expvar directive for exposing memory/GC performance
- New -restart option to force in-process restarts on Unix systems - New -restart option to force in-process restarts on Unix systems
- Only fail to start if managed certificate is expired (issue #642) - Only fail to start if managed certificate is expired (issue #642)

View file

@ -231,7 +231,7 @@ func (c Context) ToUpper(s string) string {
return strings.ToUpper(s) return strings.ToUpper(s)
} }
// Split is a passthrough to strings.Split. It will split the first argument at each instance of the seperator and return a slice of strings. // Split is a passthrough to strings.Split. It will split the first argument at each instance of the separator and return a slice of strings.
func (c Context) Split(s string, sep string) []string { func (c Context) Split(s string, sep string) []string {
return strings.Split(s, sep) return strings.Split(s, sep)
} }