case-insensitive resource type (#398)

* case-insensitive resource type

* inline error and throw outside switch

* consistent input naming

* catch failed clustertype parse

* protect raw input

* naming

* format
This commit is contained in:
David Gamero
2025-04-16 11:47:29 -04:00
committed by GitHub
parent 5dfb05d024
commit 99510dff95
7 changed files with 87 additions and 38 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ import {
} from '../utilities/githubUtils'
import {getDeploymentConfig} from '../utilities/dockerUtils'
import {DeployResult} from '../types/deployResult'
import {ClusterType} from '../actions/deploy'
import {ClusterType} from '../inputUtils'
export async function deployManifests(
files: string[],