Skip to content

Commit 9266c44

Browse files
authored
fix assert (#85)
* fix assert
1 parent 153d247 commit 9266c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/extensions/filters/http/aws_lambda/sts_connection_pool.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ StsConnectionPoolImpl::add(StsConnectionPool::Context::Callbacks *callbacks) {
115115
};
116116

117117
void StsConnectionPoolImpl::onSuccess(const absl::string_view body) {
118-
ASSERT(body != nullptr);
118+
ASSERT(!body.empty());
119119
request_in_flight_ = false;
120120

121121
// using a macro as we need to return on error

0 commit comments

Comments
 (0)