Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module github.com/therealpaulgg/ssh-sync-server

go 1.23
go 1.23.0

toolchain go1.24.1

require (
Expand Down
3 changes: 0 additions & 3 deletions pkg/database/repository/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ func (repo *MachineRepo) DeleteMachine(id uuid.UUID) error {
tx.Rollback(context.TODO())
}
}()
if _, err := tx.Exec(context.TODO(), "delete from ssh_configs where machine_id = $1", id); err != nil {
return err
}
if _, err := tx.Exec(context.TODO(), "delete from machines where id = $1", id); err != nil {
return err
}
Expand Down