-
Notifications
You must be signed in to change notification settings - Fork 2k
chore: Updating Debian 11 to 13 #4468
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -49,7 +49,7 @@ function main(projectId, zone, instanceName, cpuSeries, coreCount, memory) { | |||||
| initializeParams: { | ||||||
| diskSizeGb: '64', | ||||||
| sourceImage: | ||||||
| 'projects/debian-cloud/global/images/family/debian-11/', | ||||||
| 'projects/debian-cloud/global/images/family/debian-13/', | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The source image family URI should not end with a trailing slash. Standard Google Cloud resource paths do not include a trailing slash, and keeping it might lead to API resolution issues or inconsistency with other samples.
Suggested change
|
||||||
| }, | ||||||
| autoDelete: true, | ||||||
| boot: true, | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -51,7 +51,7 @@ function main(projectId, zone, instanceName, cpuSeries, coreCount, memory) { | |||||
| initializeParams: { | ||||||
| diskSizeGb: '64', | ||||||
| sourceImage: | ||||||
| 'projects/debian-cloud/global/images/family/debian-11/', | ||||||
| 'projects/debian-cloud/global/images/family/debian-13/', | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The source image family URI should not end with a trailing slash. Standard Google Cloud resource paths do not include a trailing slash, and keeping it might lead to API resolution issues or inconsistency with other samples.
Suggested change
|
||||||
| }, | ||||||
| autoDelete: true, | ||||||
| boot: true, | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -13,7 +13,7 @@ | |||||
| // limitations under the License. | ||||||
|
|
||||||
| /** | ||||||
| * Creates a new preemptible VM instance with Debian 11 operating system. | ||||||
| * Creates a new preemptible VM instance with Debian 13 operating system. | ||||||
| * | ||||||
| * @param {string} projectId - ID or number of the project you want to use. | ||||||
| * @param {string} zone - Name of the zone you want to use, for example: us-west3-b | ||||||
|
|
@@ -41,7 +41,7 @@ function main(projectId, zone, instanceName) { | |||||
| initializeParams: { | ||||||
| diskSizeGb: '64', | ||||||
| sourceImage: | ||||||
| 'projects/debian-cloud/global/images/family/debian-11/', | ||||||
| 'projects/debian-cloud/global/images/family/debian-13/', | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The source image family URI should not end with a trailing slash. Standard Google Cloud resource paths do not include a trailing slash, and keeping it might lead to API resolution issues or inconsistency with other samples.
Suggested change
|
||||||
| }, | ||||||
| autoDelete: true, | ||||||
| boot: true, | ||||||
|
|
||||||
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.
The source image family URI should not end with a trailing slash. Standard Google Cloud resource paths do not include a trailing slash, and keeping it might lead to API resolution issues or inconsistency with other samples.