Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ramondeklein committed Dec 20, 2024
1 parent d3ad693 commit f774da2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/minio-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,15 @@ jobs:
# Execute all functional tests in the solution
- name: Execute Functional Tests Linux
env:
CI: 1
MINT_MODE: full
SERVER_ENDPOINT: localhost:9000
ACCESS_KEY: minio
SECRET_KEY: minio123
ENABLE_HTTPS: 1
ENABLE_KMS: 1
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
MINIO_KMS_SECRET_KEY: my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
run: |
wget --quiet -O /tmp/minio https://dl.min.io/server/minio/release/linux-amd64/minio
Expand All @@ -175,7 +176,11 @@ jobs:
sudo cp /tmp/minio-config/certs/public.crt /etc/ssl/certs/
sudo cp /tmp/minio-config/certs/private.key /etc/ssl/private/
/tmp/minio --certs-dir /tmp/minio-config/certs server /tmp/fs{1...4} &
sleep 10
wget --quiet -O /tmp/mc https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x /tmp/mc
MC_HOST_test=https://minio:minio123@localhost:9000 /tmp/mc --insecure ready test
dotnet Minio.Functional.Tests/bin/Release/net8.0/Minio.Functional.Tests.dll
push_to_nuget:
Expand Down
4 changes: 2 additions & 2 deletions Minio.Examples/Cases/ListenNotifications.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2024 MinIO, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -40,7 +40,7 @@ public static void Run(IMinioClient minio,
() => Console.WriteLine("Stopped listening for bucket notifications\n"));

Console.WriteLine("Press any key to stop listening for notifications...");
Console.ReadLine();
_ = Console.ReadLine();
}
catch (Exception e)
{
Expand Down
2 changes: 1 addition & 1 deletion Minio/DataModel/Response/GenericResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public GenericResponse(HttpStatusCode statusCode, string responseContent)

public string ResponseContent { get; }
public HttpStatusCode ResponseStatusCode { get; }
}
}

0 comments on commit f774da2

Please sign in to comment.