Skip to content

Commit

Permalink
interfaces-plugin: fix log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
zinccyy committed Dec 8, 2022
1 parent ca194f0 commit 95a9466
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/interfaces/src/plugin/startup/store.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,14 @@ static int interfaces_startup_store_interface(void* priv, const struct lyd_node*
SRPLG_LOG_ERR(PLUGIN_NAME, "Error loading current interface list");
goto error_out;
case srpc_check_status_non_existant:
SRPLG_LOG_INF(PLUGIN_NAME, "Storing interface array");

SRPLG_LOG_INF(PLUGIN_NAME, "Storing interface list");
SRPC_SAFE_CALL_ERR(error, interfaces_store_interface(ctx, if_hash), error_out);
break;
case srpc_check_status_equal:
SRPLG_LOG_ERR(PLUGIN_NAME, "Startup interface array is already applied on the system");
SRPLG_LOG_ERR(PLUGIN_NAME, "Startup interface list is already applied on the system");
break;
case srpc_check_status_partial:
SRPLG_LOG_ERR(PLUGIN_NAME, "Error loading current interface array");
SRPLG_LOG_ERR(PLUGIN_NAME, "Error loading current interface list");
goto error_out;
}

Expand Down

0 comments on commit 95a9466

Please sign in to comment.