fix spelling

This commit is contained in:
ston1th 2020-11-15 18:51:04 +01:00
commit ce7d138c60
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ golint:
$(GOPATH)/bin/golint .
misspell:
$(GOPATH)/bin/misspell pkg/* cmd/* Makefile README.md
$(GOPATH)/bin/misspell pkg/* cmd/* Makefile README.md vipman.yaml
test:
ifeq ($(shell go env GOARCH), $(shell go env GOHOSTARCH))

View file

@ -41,7 +41,7 @@ func (f *fsm) Apply(l *raft.Log) interface{} {
case DELETE:
f.applyDelete(c.K)
default:
panic(fmt.Sprintf("unrecognized command op: %s", c.Op))
panic(fmt.Sprintf("unrecognized command op: %d", c.Op))
}
return nil
}

View file

@ -1,6 +1,6 @@
// +build linux
// These syscalls are only supported on Linux, so this uses a build directive during compilation. Other OS's will use the arp_unsupported.go and recieve an error
// These syscalls are only supported on Linux, so this uses a build directive during compilation. Other OS's will use the arp_unsupported.go and receive an error
package vip