Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vesta
swupdate
Commits
a2dc102b
Commit
a2dc102b
authored
Feb 21, 2017
by
David Mondou
Browse files
Removed update success message from swupdate
parent
10c20c79
Changes
1
Hide whitespace changes
Inline
Side-by-side
suricatta/server_hawkbit.c
View file @
a2dc102b
...
...
@@ -900,13 +900,11 @@ server_op_res_t server_install_update(void)
}
}
/*
if
((
result
=
save_state
((
char
*
)
STATE_KEY
,
STATE_INSTALLED
))
!=
SERVER_OK
)
{
ERROR
(
"Cannot persistently store update state.
\n
"
);
goto
cleanup
;
}
*/
if
(
server_send_deployment_reply
(
action_id
,
json_data_chunk_max
,
json_data_chunk_count
,
...
...
@@ -916,14 +914,6 @@ server_op_res_t server_install_update(void)
ERROR
(
"Error while reporting installation success to "
"server.
\n
"
);
}
if
(
server_send_deployment_reply
(
action_id
,
0
,
0
,
reply_status_result_finished
.
success
,
reply_status_execution
.
closed
,
(
const
char
*
)
"Skipped Update."
)
!=
SERVER_OK
)
{
ERROR
(
"Error while reporting installation progress to "
"server.
\n
"
);
}
cleanup:
if
(
channel_data
.
json_reply
!=
NULL
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment