Skip to content

Commit 20a433e

Browse files
committed
Remove unnecessary validation
1 parent 57ae68a commit 20a433e

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

packages/server/api/src/app/benchmark/providers/azure/azure-option-resolver.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ async function getSubscriptionsList(
5050

5151
const credentials = (connection.value as CustomAuthConnectionValue)?.props;
5252

53-
if (!credentials || typeof credentials !== 'object') {
54-
throwValidationError(
55-
'Selected connection is misconfigured or missing Azure credentials.',
56-
);
57-
}
58-
5953
let subscriptions: { subscriptionId: string; displayName: string }[];
6054
try {
6155
const tokenResult = await authenticateUserWithAzure(credentials);

0 commit comments

Comments
 (0)