Plans call for a 6′ line of flex but when installed it required 8′ of flex line is this allowed?

Plans call for a 6′ line of flex but when installed it required 8′ of flex line is this allowed?