Array modifier start/end cap error
This can be usually done by checking the First/Last option.
But not here, because the Curve modifier takes effect after the Array modifier.
You can use the new (2.82+) Weld modifier to merge the vertices instead.  


Array modifier to copy your objects
Curve modifier to bend the geometry
Weld modifier to merge the First/Last vertices