[go: nahoru, domu]

Skip to content

Commit

Permalink
chore(Compute): Upgrade Compute samples to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa committed Jul 11, 2024
1 parent 9cb2443 commit f752118
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion compute/api/Compute.Samples.Tests/ComputeFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class ComputeFixture : IDisposable, ICollectionFixture<ComputeFixture>

public string MachineType => "n1-standard-1";

public string DiskImage => "projects/debian-cloud/global/images/family/debian-10";
public string DiskImage => "projects/debian-cloud/global/images/family/debian-12";

public long DiskSizeGb => 10;

Expand Down
4 changes: 2 additions & 2 deletions compute/api/Compute.Samples/CreateInstanceAsync.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -28,7 +28,7 @@ public class CreateInstanceAsyncSample
string zone = "us-central1-a",
string machineName = "test-machine",
string machineType = "n1-standard-1",
string diskImage = "projects/debian-cloud/global/images/family/debian-10",
string diskImage = "projects/debian-cloud/global/images/family/debian-12",
long diskSizeGb = 10,
string networkName = "default")
{
Expand Down

0 comments on commit f752118

Please sign in to comment.