Amazon and Reliance had been engaged in a major battle since last year. But it has turned out to be a lose lose situation.