feat: the demo's Azure accounts are alice and admin.alice, cryptography's Alice
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2039cbe4f4
commit
a8411fddb5
2 files changed
+4
-4
No files matched your search
@@ -147,8 +147,8 @@ func sourceMatches(r ref.Ref, src provider.Source) bool {
|
||||
return src.ID == r.Subscription
|
||||
}
|
||||
|
||||
// accountOf is the account part of a source's provider label ("alex" in
|
||||
// "Azure · alex"), or "" when there's a single account.
|
||||
// accountOf is the account part of a source's provider label ("alice" in
|
||||
// "Azure · alice"), or "" when there's a single account.
|
||||
func accountOf(src provider.Source) string {
|
||||
account, ok := strings.CutPrefix(src.ProviderLabel, string(src.Kind)+" · ")
|
||||
if !ok {
|
||||
|
||||
Reference in new issue
Block a user