fix comment typo
This commit is contained in:
parent
96577606c3
commit
d97e3caf4f
|
@ -363,7 +363,7 @@ func (im *IndexMapping) UnmarshalJSON(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (im *IndexMapping) determineType(data interface{}) string {
|
func (im *IndexMapping) determineType(data interface{}) string {
|
||||||
// first see if the object implements Identifier
|
// first see if the object implements Classifier
|
||||||
classifier, ok := data.(Classifier)
|
classifier, ok := data.(Classifier)
|
||||||
if ok {
|
if ok {
|
||||||
return classifier.Type()
|
return classifier.Type()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user