fix naming of request options
parent
32418bd064
commit
fca4e68484
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -291,9 +291,9 @@ async function getNumCPUs(): Promise<number> {
|
||||||
async function reportBlacksmithBuilderFailed(stickydiskKey: string) {
|
async function reportBlacksmithBuilderFailed(stickydiskKey: string) {
|
||||||
const client = await getBlacksmithAPIUrl();
|
const client = await getBlacksmithAPIUrl();
|
||||||
const requestOptions = {
|
const requestOptions = {
|
||||||
|
stickydisk_key: stickydiskKey,
|
||||||
|
repo_name: process.env.GITHUB_REPO_NAME || '',
|
||||||
region: process.env.BLACKSMITH_REGION || 'eu-central',
|
region: process.env.BLACKSMITH_REGION || 'eu-central',
|
||||||
stickyDiskKey: stickydiskKey,
|
|
||||||
repoName: process.env.GITHUB_REPO_NAME || '',
|
|
||||||
arch: process.env.PETNAME?.includes('arm') ? 'arm64' : 'amd64'
|
arch: process.env.PETNAME?.includes('arm') ? 'arm64' : 'amd64'
|
||||||
};
|
};
|
||||||
const retryCondition = (error: AxiosError) => {
|
const retryCondition = (error: AxiosError) => {
|
||||||
|
|
Loading…
Reference in New Issue