You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(azure): correctness fixes across SQL/NoSQL, resource group, container apps, DNS
Parameter-order mismatch silently-swapping args between Context and ContextE twins:
- GetMYSQLServerContext, GetMYSQLDBContext, ListMySQLDBContext
- GetPostgreSQLServerContext, GetPostgreSQLDBContext
- GetSQLServerContext, GetSQLDatabaseContext
- GetSynapseWorkspaceContext, GetSynapseSQLPoolContext
- GetDataFactoryContext
Context wrappers now take (ctx, subscriptionID, resGroupName, ...) matching
their ContextE twins. Deprecated non-context callers updated. Example
tests under test/azure updated.
GetResourceGroupContextE was using case-sensitive string comparison against
the server-side RG name; Azure RG names are case-insensitive. Switched
to strings.EqualFold and added a nil guard.
Container Apps Exists helpers previously returned raw errors on 404
instead of (false, nil):
- ManagedEnvironmentExistsContextE
- ContainerAppExistsContextE
- ContainerAppJobExistsContextE
Now convert ResourceNotFoundErrorExists to (false, nil), matching the
contract used by DataFactoryExistsContextE.
CheckPublicDNSNameAvailabilityContext was silently returning false on
error instead of failing the test. Now uses require.NoError.
0 commit comments