refactor code
This commit is contained in:
parent
ee09e26f47
commit
41f8553d53
|
@ -185,13 +185,7 @@ int32_t streamMetaCvtDbFormat(SStreamMeta* pMeta) {
|
||||||
terrno = 0;
|
terrno = 0;
|
||||||
bool exist = streamBackendDataIsExist(pMeta->path, chkpId);
|
bool exist = streamBackendDataIsExist(pMeta->path, chkpId);
|
||||||
if (exist == false) {
|
if (exist == false) {
|
||||||
if (terrno != 0) {
|
code = terrno;
|
||||||
code = terrno;
|
|
||||||
terrno = 0;
|
|
||||||
stError("failed to check backend data exist, reason:%s", tstrerror(code));
|
|
||||||
} else {
|
|
||||||
stInfo("not need to convert stream backend formate");
|
|
||||||
}
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue