mirror of
https://github.com/Azure/k8s-set-context.git
synced 2026-06-28 10:19:27 +08:00
minor fix
This commit is contained in:
+2
-2
@@ -57,8 +57,8 @@ function getArcKubeconfig() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
let method = core.getInput('method');
|
||||
if (method != 'service-account' && method != 'spn') {
|
||||
throw Error("Supported methods for arc cluster are 'service-account' and 'spn'.");
|
||||
if (method != 'service-account' && method != 'SPN') {
|
||||
throw Error("Supported methods for arc cluster are 'service-account' and 'SPN'.");
|
||||
}
|
||||
let resourceGroupName = core.getInput('resource-group');
|
||||
let clusterName = core.getInput('cluster-name');
|
||||
|
||||
Reference in New Issue
Block a user