Skip to content

Commit 65aaa13

Browse files
committed
fix(scf): format image config
1 parent 12f6245 commit 65aaa13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/scf/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const formatInputs = (inputs: ScfCreateFunctionInputs) => {
3232
ImageUri: imageConfig.imageUri,
3333
},
3434
};
35-
if (imageConfig.imageType === 'enterprise') {
35+
if (imageConfig.registryId) {
3636
functionInputs.Code!.ImageConfig!.RegistryId = imageConfig.registryId;
3737
}
3838
if (imageConfig.command) {

0 commit comments

Comments
 (0)