File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
packages/modules/azurite/src Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
import {
2
2
AbstractStartedContainer ,
3
3
GenericContainer ,
4
+ getContainerPort ,
4
5
hasHostBinding ,
5
6
PortWithOptionalBinding ,
6
7
StartedTestContainer ,
@@ -171,23 +172,26 @@ export class StartedAzuriteContainer extends AbstractStartedContainer {
171
172
if ( hasHostBinding ( this . blobPort ) ) {
172
173
return this . blobPort . host ;
173
174
} else {
174
- return this . getMappedPort ( this . blobPort ) ;
175
+ const containerPort = getContainerPort ( this . blobPort ) ;
176
+ return this . getMappedPort ( containerPort ) ;
175
177
}
176
178
}
177
179
178
180
public getQueuePort ( ) : number {
179
181
if ( hasHostBinding ( this . queuePort ) ) {
180
182
return this . queuePort . host ;
181
183
} else {
182
- return this . getMappedPort ( this . queuePort ) ;
184
+ const containerPort = getContainerPort ( this . queuePort ) ;
185
+ return this . getMappedPort ( containerPort ) ;
183
186
}
184
187
}
185
188
186
189
public getTablePort ( ) : number {
187
190
if ( hasHostBinding ( this . tablePort ) ) {
188
191
return this . tablePort . host ;
189
192
} else {
190
- return this . getMappedPort ( this . tablePort ) ;
193
+ const containerPort = getContainerPort ( this . tablePort ) ;
194
+ return this . getMappedPort ( containerPort ) ;
191
195
}
192
196
}
193
197
You can’t perform that action at this time.
0 commit comments