Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close #288 #290

Merged
merged 4 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions dev_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ copy_file(){
mkdir -p ${OBDIAG_HOME}/gather
if [ -d "${WORK_DIR}/handler/checker/tasks" ]; then
cp -rf ${WORK_DIR}/handler/checker/tasks ${OBDIAG_HOME}/check/
cp -rf ${WORK_DIR}/handler/checker/tasks/obproxy_check_package.yaml ${OBDIAG_HOME}/check/
cp -rf ${WORK_DIR}/handler/checker/tasks/observer_check_package.yaml ${OBDIAG_HOME}/check/
fi
if [ -d "${WORK_DIR}/handler/gather/tasks" ]; then
cp -rf ${WORK_DIR}/handler/gather/tasks ${OBDIAG_HOME}/gather/
Expand All @@ -51,8 +53,8 @@ copy_file(){
cp -rf ${WORK_DIR}/example ${OBDIAG_HOME}/
fi

if [ -d "${WORK_DIR}/rca" ]; then
cp -rf ${WORK_DIR}/rca ${OBDIAG_HOME}/
if [ -d "${WORK_DIR}/handler/rca/scene" ]; then
cp -rf ${WORK_DIR}/handler/rca/scene ${OBDIAG_HOME}/rca
fi

}
Expand Down
2 changes: 1 addition & 1 deletion obcmd.py → diag_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# See the Mulan PSL v2 for more details.

"""
@file: cmd.py
@file: diag_cmd.py
@desc:
"""

Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"""

import sys
from obcmd import MainCommand
from diag_cmd import MainCommand
from stdio import IO

ROOT_IO = IO(1)
Expand Down
Loading