Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
quzard committed Nov 24, 2023
1 parent 3c46dc2 commit f2c18d7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
Empty file.
11 changes: 1 addition & 10 deletions core/config/watcher/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 iLogtail Authors
# Copyright 2022 iLogtail Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -13,20 +13,11 @@
# limitations under the License.

cmake_minimum_required(VERSION 2.9)
<<<<<<<< HEAD:core/application/CMakeLists.txt
project(application)
========
project(config_watcher)
>>>>>>>> duming/stage4:core/config/watcher/CMakeLists.txt

file(GLOB LIB_SOURCE_FILES *.cpp *.h)
append_source_files(LIB_SOURCE_FILES)
add_library(${PROJECT_NAME} STATIC ${LIB_SOURCE_FILES})
<<<<<<<< HEAD:core/application/CMakeLists.txt
target_link_libraries(${PROJECT_NAME} common)
target_link_libraries(${PROJECT_NAME} monitor)
========
target_link_libraries(${PROJECT_NAME} config)
target_link_libraries(${PROJECT_NAME} logger)
target_link_libraries(${PROJECT_NAME} pipeline)
>>>>>>>> duming/stage4:core/config/watcher/CMakeLists.txt
2 changes: 1 addition & 1 deletion core/reader/LogFileReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class LogFileReader {

bool CheckDevInode();

bool CheckFileSignatureAndOffset(int64_t& fileSize);
bool CheckFileSignatureAndOffset(bool isOpenOnUpdate);

void UpdateLogPath(const std::string& filePath) {
if (mHostLogPath == filePath) {
Expand Down

0 comments on commit f2c18d7

Please sign in to comment.