Two suspects were in custody after a shelter-in-place order was issued Thursday at San Diego's Naval Base Point Loma following a report of a person seen with a gun.

The commander of Naval Base Point Loma said one of the sailors had been detained after firing a gun that shoots soft plastic pellets.

Capt. Scott Adams confirmed a second serviceman was also taken into custody.

The report of a possible gunman led to an order that personnel shelter in place on the base, which is home to the Third Fleet command and other major units.

Adams says the shooter told investigators he was firing the pellets from a barracks, using a parking garage mirror as a target. Pellets were found outside the barracks and near the mirror.

U-T San Diego reported that the base was never on lockdown, but those on the base were asked to remain indoors.

The Associated Press contributed to this report.