MCPcopy Create free account
hub / github.com/coder/coder / sortExternalAuthProviders

Function sortExternalAuthProviders

provisioner/terraform/resources_test.go:1859–1863  ·  view source on GitHub ↗
(providers []*proto.ExternalAuthProviderResource)

Source from the content-addressed store, hash-verified

1857}
1858
1859func sortExternalAuthProviders(providers []*proto.ExternalAuthProviderResource) {
1860 sort.Slice(providers, func(i, j int) bool {
1861 return strings.Compare(providers[i].Id, providers[j].Id) == -1
1862 })
1863}
1864
1865// deterministicAppIDs handles setting agent app ids to something deterministic.
1866// In plan files, ids are not present. In state files, they are.

Callers 2

TestConvertResourcesFunction · 0.85
TestConvertStateGoldenFunction · 0.85

Calls 1

CompareMethod · 0.80

Tested by

no test coverage detected