Skip to content

Commit 142a13d

Browse files
committed
server config UPDATE remove redundant messages
1 parent 7ac7c56 commit 142a13d

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

src/server_config_util.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,6 @@ nc_server_config_add_keystore_asym_key(const struct ly_ctx *ctx, NC_TRANSPORT_IM
11411141
goto cleanup;
11421142
}
11431143
if (ret) {
1144-
ERR(NULL, "Getting keys from file(s) failed.");
11451144
goto cleanup;
11461145
}
11471146

src/server_config_util_ssh.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ _nc_server_config_add_ssh_hostkey(const struct ly_ctx *ctx, const char *tree_pat
4747
ret = nc_server_config_util_get_asym_key_pair(privkey_path, pubkey_path, NC_PUBKEY_FORMAT_SSH, &privkey,
4848
&privkey_type, &pubkey);
4949
if (ret) {
50-
ERR(NULL, "Getting keys from file(s) failed.");
5150
goto cleanup;
5251
}
5352

@@ -105,7 +104,6 @@ nc_server_config_add_ssh_hostkey(const struct ly_ctx *ctx, const char *endpt_nam
105104

106105
ret = _nc_server_config_add_ssh_hostkey(ctx, path, privkey_path, pubkey_path, config);
107106
if (ret) {
108-
ERR(NULL, "Creating new hostkey YANG data nodes failed.");
109107
goto cleanup;
110108
}
111109

@@ -130,7 +128,6 @@ nc_server_config_add_ch_ssh_hostkey(const struct ly_ctx *ctx, const char *client
130128

131129
ret = _nc_server_config_add_ssh_hostkey(ctx, path, privkey_path, pubkey_path, config);
132130
if (ret) {
133-
ERR(NULL, "Creating new Call-Home hostkey YANG data nodes failed.");
134131
goto cleanup;
135132
}
136133

@@ -292,7 +289,6 @@ nc_server_config_add_ssh_user_pubkey(const struct ly_ctx *ctx, const char *endpt
292289

293290
ret = _nc_server_config_add_ssh_user_pubkey(ctx, path, pubkey_path, config);
294291
if (ret) {
295-
ERR(NULL, "Creating new SSH user's public key failed.");
296292
goto cleanup;
297293
}
298294

@@ -334,7 +330,6 @@ nc_server_config_add_ch_ssh_user_pubkey(const struct ly_ctx *ctx, const char *cl
334330

335331
ret = _nc_server_config_add_ssh_user_pubkey(ctx, path, pubkey_path, config);
336332
if (ret) {
337-
ERR(NULL, "Creating new CH SSH user's public key failed.");
338333
goto cleanup;
339334
}
340335

@@ -538,7 +533,6 @@ nc_server_config_add_ssh_user_password(const struct ly_ctx *ctx, const char *end
538533

539534
ret = _nc_server_config_add_ssh_user_password(ctx, path, password, config);
540535
if (ret) {
541-
ERR(NULL, "Creating new SSH user's password failed.");
542536
goto cleanup;
543537
}
544538

@@ -563,7 +557,6 @@ nc_server_config_add_ch_ssh_user_password(const struct ly_ctx *ctx, const char *
563557

564558
ret = _nc_server_config_add_ssh_user_password(ctx, path, password, config);
565559
if (ret) {
566-
ERR(NULL, "Creating new CH SSH user's password failed.");
567560
goto cleanup;
568561
}
569562

0 commit comments

Comments
 (0)