Skip to content

Commit abbb415

Browse files
authored
fix: Correct error variable pointer in Sagemaker server (#8608)
1 parent 50bbba6 commit abbb415

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sagemaker_server.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
// Copyright 2021-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
//
33
// Redistribution and use in source and binary forms, with or without
44
// modification, are permitted provided that the following conditions
@@ -735,7 +735,7 @@ SagemakerAPIServer::SageMakerMMEUnloadModel(
735735
server_.get(), repo_parent_path.c_str());
736736

737737
if (unregister_err != nullptr) {
738-
EVBufferAddErrorJson(req->buffer_out, unload_err);
738+
EVBufferAddErrorJson(req->buffer_out, unregister_err);
739739
evhtp_send_reply(req, EVHTP_RES_BADREQ);
740740
LOG_ERROR << "Unable to unregister model repository for path: "
741741
<< repo_parent_path << std::endl;

0 commit comments

Comments
 (0)