From 4c980b1a14453d2732a432dbc6c14dd4ed1155fe Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Wed, 1 May 2013 00:24:34 +0200
Subject: [PATCH] Set storage id for openstack swift backend

---
 apps/files_external/lib/swift.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php
index 68c4b48f17..a9cfe5bd20 100644
--- a/apps/files_external/lib/swift.php
+++ b/apps/files_external/lib/swift.php
@@ -287,6 +287,7 @@ class SWIFT extends \OC\Files\Storage\Common{
 			if ( ! $this->root || $this->root[0]!='/') {
 				$this->root='/'.$this->root;
 			}
+			$this->id = 'swift:' . $this->host . ':'.$this->root . ':' . $this->user;
 		} else {
 			throw new \Exception();
 		}
-- 
GitLab