Commit 8e36644e authored by peng.xu's avatar peng.xu
Browse files

Merge branch 'fix_thermal_bug' into 'branch-0.5.0'

fix stupid error

See merge request megasearch/milvus!673

Former-commit-id: 068d1fdd72d05d7afd4f29d46079a4de92c6f10b
parents 7142dd73 cf2762f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -263,8 +263,8 @@ SystemInfo::CPUTemperature() {
                object += "/temp1_input";
                FILE *file = fopen(object.c_str(), "r");
                if (file == nullptr) {
                    SERVER_LOG_ERROR << "Could not open temperature file"
                    exit(1);
                    SERVER_LOG_ERROR << "Could not open temperature file";
                    return result;
                }
                float temp;
                fscanf(file, "%f", &temp);