Browse Source

use of language feature (#821)

pull/833/head
Marvin Huber 6 years ago
committed by GitHub
parent
commit
fc3b3d1656
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/Microsoft.Tye.Core/ContainerRegistry.cs

7
src/Microsoft.Tye.Core/ContainerRegistry.cs

@ -10,12 +10,7 @@ namespace Microsoft.Tye
{
public ContainerRegistry(string hostname)
{
if (hostname is null)
{
throw new ArgumentNullException(nameof(hostname));
}
Hostname = hostname;
Hostname = hostname ?? throw new ArgumentNullException(nameof(hostname));
}
public string Hostname { get; }

Loading…
Cancel
Save