Skip to content

Commit 0e2b3e5

Browse files
committed
Fix tests
1 parent b69c0d4 commit 0e2b3e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/redisclient/connectionconfig.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ QDomElement RedisClient::ConnectionConfig::toXml()
185185
saveXmlAttribute(dom, xml, "host", param<QString>("host"));
186186
saveXmlAttribute(dom, xml, "port", QString::number(param<int>("port")));
187187

188-
saveXmlAttribute(dom, xml, "keys_pattern", param<QString>("keys_pattern"));
188+
if (param<QString>("keys_pattern")!= QString("*"))
189+
saveXmlAttribute(dom, xml, "keys_pattern", param<QString>("keys_pattern"));
189190

190191
if (useAuth()) {
191192
saveXmlAttribute(dom, xml, "auth", param<QString>("auth"));

0 commit comments

Comments
 (0)