What you need to do is have the gas turned off at all times but only turned on to start and run. When you want to start the diesel turn the gas on and when the diesel starts then turn the gas off with the starting engine running yet and let the gas burn up in the carb.till it stalls out.You didn,t say if you started the diesel and ran it after you filled it with gas and let the gas turned on or not.If it wasn,t run and ran down in the oil maybe the float is bad or the needle and seat for the float control is shot or stuck open.