store: host_credentials becomes kind-aware (repo + admin slots)
This commit is contained in:
@@ -99,7 +99,7 @@ func enrolHostForWS(t *testing.T, srv *Server, st *store.Store, name string) (ho
|
||||
if err != nil {
|
||||
t.Fatalf("encrypt: %v", err)
|
||||
}
|
||||
if err := st.SetHostCredentials(context.Background(), hostID, enc); err != nil {
|
||||
if err := st.SetHostCredentials(context.Background(), hostID, store.CredKindRepo, enc); err != nil {
|
||||
t.Fatalf("set creds: %v", err)
|
||||
}
|
||||
return hostID, token
|
||||
|
||||
Reference in New Issue
Block a user