Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniomika committed Feb 27, 2025
1 parent 3032185 commit c7a0780
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ require (
github.com/charmbracelet/wish v1.2.0
github.com/minio/madmin-go/v3 v3.0.29
github.com/minio/minio-go/v7 v7.0.63
github.com/picosh/send v0.0.0-20250226204721-03aad51a1f7d
github.com/picosh/send v0.0.0-20250227050705-0c2cd3b14935
)

require (
Expand Down Expand Up @@ -65,7 +65,7 @@ require (
github.com/muesli/reflow v0.3.0 // indirect
github.com/muesli/termenv v0.15.2 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/picosh/go-rsync-receiver v0.0.0-20250226204508-de154908d143 // indirect
github.com/picosh/go-rsync-receiver v0.0.0-20250227050534-f3af0a9d7aa6 // indirect
github.com/pkg/sftp v1.13.6 // indirect
github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect
github.com/prometheus/client_model v0.5.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo
github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8=
github.com/philhofer/fwd v1.1.2 h1:bnDivRJ1EWPjUIRXV5KfORO897HTbpFAQddBdE8t7Gw=
github.com/philhofer/fwd v1.1.2/go.mod h1:qkPdfjR2SIEbspLqpe1tO4n5yICnr2DY7mqEx2tUTP0=
github.com/picosh/go-rsync-receiver v0.0.0-20250226204508-de154908d143 h1:kJQF0l6QZVc5k82GyvbV007nUb70i6jvq0xV7pu8vKE=
github.com/picosh/go-rsync-receiver v0.0.0-20250226204508-de154908d143/go.mod h1:4ZICsr6bESoHP8He9DqROlZiMw4hHHjcbDzhtTTDQzA=
github.com/picosh/send v0.0.0-20250226204721-03aad51a1f7d h1:KTw+/3E4O+VZ0O6h+3u9v1q4PEVS7jadVS0OixpWQy4=
github.com/picosh/send v0.0.0-20250226204721-03aad51a1f7d/go.mod h1:KY80SSX4YcLira+7HRTGVLVHZTVc+emlO56wGzv+SnU=
github.com/picosh/go-rsync-receiver v0.0.0-20250227050534-f3af0a9d7aa6 h1:MCyv/ZwRrtTVLXh2fOTcii5FsPyisWKjcCpBi4FKWQs=
github.com/picosh/go-rsync-receiver v0.0.0-20250227050534-f3af0a9d7aa6/go.mod h1:4ZICsr6bESoHP8He9DqROlZiMw4hHHjcbDzhtTTDQzA=
github.com/picosh/send v0.0.0-20250227050705-0c2cd3b14935 h1:4LWBTIpez+fa7RGVsCov6N6BAqE+KO0iwW35/e3yEzg=
github.com/picosh/send v0.0.0-20250227050705-0c2cd3b14935/go.mod h1:ehht7ZCPfMc5ycCKlD/yNG0hj3sWWyO4dF3E8IWTQd0=
github.com/pkg/sftp v1.13.6 h1:JFZT4XbOU7l77xGSpOdW+pwIMqP044IyjXX6FGyEKFo=
github.com/pkg/sftp v1.13.6/go.mod h1:tz1ryNURKu77RL+GuCzmoJYxQczL3wLNNpPWagdg4Qk=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
Expand Down
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func NewUploadAssetHandler(cfg *Config) *UploadAssetHandler {
}
}

func (h *UploadAssetHandler) GetLogger() *slog.Logger {
func (h *UploadAssetHandler) GetLogger(s ssh.Session) *slog.Logger {
return h.Cfg.Logger
}

Expand Down

0 comments on commit c7a0780

Please sign in to comment.