Skip to content

Commit bb5d6a7

Browse files
committed
Added AuthInfo initialization
1 parent 6a697fe commit bb5d6a7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ydb/library/yql/providers/s3/actors/yql_s3_write_actor.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,14 @@ class TS3FileWriteActor : public TActorBootstrapped<TS3FileWriteActor> {
148148
, Parts(MakeCompressorQueue(compression))
149149
, DirtyWrite(dirtyWrite)
150150
, Token(token)
151+
, AuthInfo(Credentials.GetAuthInfo())
151152
{
152153
YQL_ENSURE(Parts, "Compression '" << compression << "' is not supported.");
153154
}
154155

155156
void Bootstrap(const TActorId& parentId) {
156157
ParentId = parentId;
157158
LOG_D("TS3FileWriteActor", "Bootstrap by " << ParentId << " for Key: [" << Key << "], Url: [" << Url << "], request id: [" << RequestId << "]");
158-
if (!UpdateAuthInfo()) {
159-
return;
160-
}
161159
if (DirtyWrite && Parts->IsSealed() && Parts->Size() <= 1) {
162160
Become(&TS3FileWriteActor::SinglepartWorkingStateFunc);
163161
const size_t size = Max<size_t>(Parts->Volume(), 1);

0 commit comments

Comments
 (0)