pool: Reddo component-like fields

This commit is contained in:
Tom Wiesing 2022-12-22 13:49:05 +01:00
parent 99983ee6db
commit 337a5fbeba
No known key found for this signature in database
48 changed files with 291 additions and 163 deletions

View file

@ -65,7 +65,7 @@ func (ssh2 *SSH2) handleAuth(ctx ssh.Context, key ssh.PublicKey) bool {
// grab permissions for each instance
{
instances, err := ssh2.Instances.All(ctx)
instances, err := ssh2.Dependencies.Instances.All(ctx)
if err != nil {
return false
}

View file

@ -11,7 +11,9 @@ import (
type SSH2 struct {
component.Base
Instances *instances.Instances
Dependencies struct {
Instances *instances.Instances
}
}
var (