the surprise was complete : stavka , alarmed by reports that wermacht units approached the border in battle deployment , had at 00:30 am ordered to warn the border troops that war was imminent , only a small number of units were alerted in time .