File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import * as poller from "../operation-poller";
13
13
import { logBullet , sleep } from "../utils" ;
14
14
import { apphostingOrigin , consoleOrigin } from "../api" ;
15
15
import { DeepOmit } from "../metaprogramming" ;
16
- import { getBackendForAmbiguousLocation , getBackendForLocation } from "./backend" ;
16
+ import { getBackendForAmbiguousLocation , getBackendForLocation , getBackend } from "./backend" ;
17
17
18
18
const apphostingPollerOptions : Omit < poller . OperationPollerOptions , "operationResourceName" > = {
19
19
apiOrigin : apphostingOrigin ( ) ,
@@ -38,10 +38,9 @@ export async function createRollout(
38
38
) : Promise < void > {
39
39
let backend : apphosting . Backend ;
40
40
if ( location === "-" || location === "" ) {
41
- backend = await getBackendForAmbiguousLocation (
41
+ backend = await getBackend (
42
42
projectId ,
43
43
backendId ,
44
- "Please select the location of the backend you'd like to roll out:" ,
45
44
force ,
46
45
) ;
47
46
location = apphosting . parseBackendName ( backend . name ) . location ;
You can’t perform that action at this time.
0 commit comments