addressed nit picks

This commit is contained in:
Atharva Mulmuley
2021-04-28 17:43:56 +05:30
parent 579411ab66
commit 269939dbae
4 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ async function getAzureAccessToken(servicePrincipalId, servicePrincipalKey, tena
export async function getArcKubeconfig(): Promise<string> {
try {
let method = core.getInput('method');
if (method != 'service-account' && method != 'spn'){
if (method != 'service-account' && method != 'SPN'){
throw Error("Supported methods for arc cluster are 'service-account' and 'spn'.");
}