Police have confimed that a gun was fired during an incident which saw officers called out to deal with two loose dogs reported to have been acting aggressively.