mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 02:17:23 +00:00
chore: fix function names in comment (#7723)
Signed-off-by: wanshuangcheng <wanshuangcheng@outlook.com>
This commit is contained in:
parent
b0e515243d
commit
a096b7e5d4
@ -76,7 +76,7 @@ func (l *Login) renderDeviceAuthDone(w http.ResponseWriter, r *http.Request, aut
|
||||
}
|
||||
}
|
||||
|
||||
// handleDeviceUserCode serves the Device Authorization user code submission form.
|
||||
// handleDeviceAuthUserCode serves the Device Authorization user code submission form.
|
||||
// The "user_code" may be submitted by URL (GET) or form (POST).
|
||||
// When a "user_code" is received and found through query,
|
||||
// handleDeviceAuthUserCode will create a new AuthRequest in the repository.
|
||||
|
@ -37,7 +37,7 @@ func (s *SetRestrictions) Validate(defaultLanguage language.Tag) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetRestrictions creates new restrictions or updates existing restrictions.
|
||||
// SetInstanceRestrictions creates new restrictions or updates existing restrictions.
|
||||
func (c *Commands) SetInstanceRestrictions(
|
||||
ctx context.Context,
|
||||
setRestrictions *SetRestrictions,
|
||||
|
@ -421,7 +421,7 @@ func (h *Handler) Trigger(ctx context.Context, opts ...TriggerOpt) (_ context.Co
|
||||
}
|
||||
}
|
||||
|
||||
// lockInstances tries to lock the instance.
|
||||
// lockInstance tries to lock the instance.
|
||||
// If the instance is already locked from another process no cancel function is returned
|
||||
// the instance can be skipped then
|
||||
// If the instance is locked, an unlock deferrable function is returned
|
||||
|
Loading…
x
Reference in New Issue
Block a user