-
Notifications
You must be signed in to change notification settings - Fork 210
Revert Remove __trigger #1274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert Remove __trigger #1274
Conversation
This commit resolves faulty merge-conflicted code that did not take into account the changes from #1153.
spec/v2/providers/fixtures.ts
Outdated
export const MINIMAL_V2_ENDPOINT: ManifestEndpoint = { | ||
availableMemoryMb: RESET_VALUE, | ||
concurrency: RESET_VALUE, | ||
ingressSettings: RESET_VALUE, | ||
maxInstances: RESET_VALUE, | ||
minInstances: RESET_VALUE, | ||
serviceAccountEmail: RESET_VALUE, | ||
timeoutSeconds: RESET_VALUE, | ||
vpc: RESET_VALUE, | ||
}; | ||
|
||
export const MINIMAL_V1_ENDPOINT: ManifestEndpoint = { | ||
availableMemoryMb: RESET_VALUE, | ||
ingressSettings: RESET_VALUE, | ||
maxInstances: RESET_VALUE, | ||
minInstances: RESET_VALUE, | ||
serviceAccountEmail: RESET_VALUE, | ||
timeoutSeconds: RESET_VALUE, | ||
vpc: RESET_VALUE, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unneeded? These are defined in https://github.com/firebase/firebase-functions/blob/master/spec/fixtures.ts#L25 instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oof, didn't see they were moved during conflict resolution.
Are you ok with:
export { MINIMAL_V1_ENDPOINT, MINIMAL_V2_ENDPOINT } from "../../fixtures";
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer we fix import statements, but given the size of this PR that is fine w/ me.
spec/v2/providers/fixtures.ts
Outdated
export const MINIMAL_V2_ENDPOINT: ManifestEndpoint = { | ||
availableMemoryMb: RESET_VALUE, | ||
concurrency: RESET_VALUE, | ||
ingressSettings: RESET_VALUE, | ||
maxInstances: RESET_VALUE, | ||
minInstances: RESET_VALUE, | ||
serviceAccountEmail: RESET_VALUE, | ||
timeoutSeconds: RESET_VALUE, | ||
vpc: RESET_VALUE, | ||
}; | ||
|
||
export const MINIMAL_V1_ENDPOINT: ManifestEndpoint = { | ||
availableMemoryMb: RESET_VALUE, | ||
ingressSettings: RESET_VALUE, | ||
maxInstances: RESET_VALUE, | ||
minInstances: RESET_VALUE, | ||
serviceAccountEmail: RESET_VALUE, | ||
timeoutSeconds: RESET_VALUE, | ||
vpc: RESET_VALUE, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer we fix import statements, but given the size of this PR that is fine w/ me.
Description
Code sample