Update to new goprogram version

This commit is contained in:
Tom Wiesing 2023-11-01 22:01:24 +01:00
parent 7bd9570bc0
commit 873fdcd5c2
No known key found for this signature in database
106 changed files with 478 additions and 825 deletions

View file

@ -11,7 +11,7 @@ import (
type SSHKeys struct {
component.Base
Dependencies struct {
dependencies struct {
SQL *sql.SQL
Auth *auth.Auth
}
@ -25,7 +25,7 @@ var (
// Admin returns the set of administrative ssh keys.
// These are ssh keys associated to distillery admin users.
func (k *SSHKeys) Admin(ctx context.Context) (keys []ssh.PublicKey, err error) {
users, err := k.Dependencies.Auth.Users(ctx)
users, err := k.dependencies.Auth.Users(ctx)
if err != nil {
return nil, err
}