As long as the defect occurred during your journey and you have made reasonable steps to have the defect repaired (such as taking it back to depot - repair centre) and this journey is done during daylight then you will be fine.
Obviously a record of your pre journey inspection and confirmation of reporting the defect to your office will suffice if stopped I would like to think!
See it for yourself below - I’ve highlighted the relevant piece in red, taken from the Road Vehicles Lighting Regs:
Maintenance of lamps, reflectors, rear markings and devices
23.—(1) No person shall use, or cause or permit to be used, on a road a vehicle unless every lamp, reflector, rear marking and device to which this paragraph applies is in good working order and, in the case of a lamp, clean.
(2) Save as provided in paragraph (3), paragraph (1) applies to–
(a)every–
(i)front position lamp,
(ii)rear position lamp,
(iii)headlamp,
(iv)rear registration plate lamp,
(v)side marker lamp,
(vi)end-outline marker lamp,
(vii)rear fog lamp,
(viii)retro reflector, and
(ix)rear marking of a type specified in Part I of Section B of Schedule 19,with which the vehicle is required by these Regulations to be fitted; and
(b)every–
(i)stop lamp,
(ii)direction indicator,
(iii)running lamp,
(iv)dim-dip device,
(v)headlamp levelling device, and
(vi)hazard warning signal device,with which it is fitted.
(3) Paragraph (2) does not apply to–
(a)a rear fog lamp on a vehicle which is part of a combination of vehicles any part of which is not required by these Regulations to be fitted with a rear fog lamp;
(b)a rear fog lamp on a motor vehicle drawing a trailer;
(c)a defective lamp, reflector, dim-dip device or headlamp levelling device on a vehicle in use on a road between sunrise and sunset, if any such lamp, reflector or device became defective during the journey which is in progress or if arrangements have been made to remedy the defect with all reasonable expedition; or
(d)a lamp, reflector, dim-dip device, headlamp levelling device or rear marking on a combat vehicle in use on a road between sunrise and sunset.