Skip to content

Commit

Permalink
fix typo (#18770)
Browse files Browse the repository at this point in the history
  • Loading branch information
BethanyZhou authored Jun 28, 2022
1 parent a2e29bb commit ad4531a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public override void ExecuteCmdlet()

private bool IsPemFile(string filePath)
{
return ".pem".Equals(Path.GetExtension(FilePath), StringComparison.OrdinalIgnoreCase);
return ".pem".Equals(Path.GetExtension(filePath), StringComparison.OrdinalIgnoreCase);
}

internal X509Certificate2Collection InitializeCertificateCollection()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public PSKeyVaultCertificate MergeCertificate(string vaultName, string certName,

public PSKeyVaultCertificate MergeCertificate(string vaultName, string name, byte[] certBytes, Dictionary<string, string> tags)
{
return VaultClient.MergeCertifcate(vaultName, name, certBytes, tags);
return VaultClient.MergeCertificate(vaultName, name, certBytes, tags);
}

public void PurgeCertificate(string vaultName, string certName)
Expand Down
2 changes: 1 addition & 1 deletion src/KeyVault/KeyVault/Track2Models/Track2VaultClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ private PSKeyVaultCertificate ImportCertificate(CertificateClient certClient, st
return new PSKeyVaultCertificate(certClient.ImportCertificate(options));
}

public PSKeyVaultCertificate MergeCertifcate(string vaultName, string certName, byte[] certificate, IDictionary<string, string> tags)
public PSKeyVaultCertificate MergeCertificate(string vaultName, string certName, byte[] certificate, IDictionary<string, string> tags)
{
var certClient = CreateCertificateClient(vaultName);
var options = new MergeCertificateOptions(certName, new List<byte[]> { certificate });
Expand Down

0 comments on commit ad4531a

Please sign in to comment.