File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/commands/imageSource/containerRegistry Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 44 *--------------------------------------------------------------------------------------------*/
55
66import { AzureWizardPromptStep } from "@microsoft/vscode-azext-utils" ;
7- import { acrDomain } from "../../../constants" ;
7+ import { acrDomain , quickStartImageName } from "../../../constants" ;
88import { parseImageName } from "../../../utils/imageNameUtils" ;
99import { localize } from "../../../utils/localize" ;
1010import { IContainerRegistryImageContext } from "./IContainerRegistryImageContext" ;
@@ -21,7 +21,7 @@ export class RegistryImageInputStep extends AzureWizardPromptStep<IContainerRegi
2121 const { registryDomain, imageNameReference } = parseImageName ( getLatestContainerAppImage ( context . targetContainer ) ) ;
2222
2323 // Only bother carrying over the suggestion if the old image was from a third party registry
24- if ( registryDomain !== acrDomain ) {
24+ if ( registryDomain !== acrDomain && imageNameReference !== quickStartImageName ) {
2525 value = imageNameReference ;
2626 }
2727 }
You can’t perform that action at this time.
0 commit comments