Cleans up some go vet warnings.

This commit is contained in:
James Phillips 2015-10-12 23:01:21 -07:00
parent 495b276e44
commit 768f6fd8db
1 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ func (s *StateStore) getTableWatch(table string) Watch {
return watch
}
panic(fmt.Sprintf("Unknown watch for table %#s", table))
panic(fmt.Sprintf("Unknown watch for table %s", table))
}
// GetQueryWatch returns a watch for the given query method. This is
@ -315,7 +315,7 @@ func (s *StateStore) GetQueryWatch(method string) Watch {
return s.getTableWatch("acls")
}
panic(fmt.Sprintf("Unknown method %#s", method))
panic(fmt.Sprintf("Unknown method %s", method))
}
// GetKVSWatch returns a watch for the given prefix in the key value store.