Skip to content

Commit

Permalink
fix: manual image name field to be optional, not required, when in de…
Browse files Browse the repository at this point in the history
…bug mode (#1397)
  • Loading branch information
dan-2ee authored Aug 2, 2022
1 parent 77f284a commit 471d559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/backend-ai-session-launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ export default class BackendAiSessionLauncher extends BackendAIPage {
config['env']['OPENBLAS_NUM_THREADS'] = openBLASCoreValue ? Math.max(0, parseInt(openBLASCoreValue)).toString() : '1';
}
let kernelName: string;
if (this._debug || ( this.manualImageName && this.manualImageName.value !== '')) {
if ((this._debug && this.manualImageName.value !== '') || ( this.manualImageName && this.manualImageName.value !== '')) {
kernelName = this.manualImageName.value;
} else {
kernelName = this._generateKernelIndex(kernel, version);
Expand Down

0 comments on commit 471d559

Please sign in to comment.