File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ module.exports = function run(args, rawArgs) {
154154 // Hence whenever running on ATS, need to make local as false
155155 bsConfig . connection_settings . local = false ;
156156
157- const gridDetails = await getTurboScaleGridDetails ( bsConfig ) ;
157+ const gridDetails = await getTurboScaleGridDetails ( bsConfig , args , rawArgs ) ;
158158
159159 if ( gridDetails && Object . keys ( gridDetails ) . length > 0 ) {
160160 Constants . turboScaleObj . gridDetails = gridDetails ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ exports.getTurboScaleGridName = (bsConfig) => {
3838 return 'NO_GRID_NAME_PASSED' ;
3939} ;
4040
41- exports . getTurboScaleGridDetails = async ( bsConfig ) => {
41+ exports . getTurboScaleGridDetails = async ( bsConfig , args , rawArgs ) => {
4242 try {
4343 const gridName = this . getTurboScaleGridName ( bsConfig ) ;
4444
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ describe('#atsHelper', () => {
8787
8888 requestStub . yields ( null , { statusCode : 200 } , body ) ;
8989 sendUsageReportStub . notCalled ;
90- atsHelper . getTurboScaleGridDetails ( testObjects . sampleATSBsConfigWithOptions ) . then ( ( result ) => {
90+ atsHelper . getTurboScaleGridDetails ( testObjects . sampleATSBsConfigWithOptions , { } , { } ) . then ( ( result ) => {
9191 expect ( result ) . to . eq ( body ) ;
9292 } )
9393 } ) ;
@@ -104,7 +104,7 @@ describe('#atsHelper', () => {
104104 } ;
105105
106106 requestStub . yields ( null , { statusCode : 422 } , body ) ;
107- atsHelper . getTurboScaleGridDetails ( testObjects . sampleATSBsConfigWithOptions ) . then ( ( result ) => {
107+ atsHelper . getTurboScaleGridDetails ( testObjects . sampleATSBsConfigWithOptions , { } , { } ) . then ( ( result ) => {
108108 expect ( result ) . to . eq ( { } ) ;
109109 expect ( sendUsageReportStub . calledOnce ) . to . be . true ;
110110 } )
You can’t perform that action at this time.
0 commit comments