- await self.repo_remove(cluster_uuid,
- "stable")
- await self.repo_add(cluster_uuid,
- "stable",
- self._stable_repo_url)
+ await self.repo_remove(cluster_uuid, "stable")
+ if self._stable_repo_url:
+ await self.repo_add(cluster_uuid, "stable", self._stable_repo_url)