Skip to content

Commit

Permalink
chore: remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Dec 3, 2024
1 parent 7b3be54 commit 4761fa1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions modules/ollama/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,6 @@ func (c *OllamaContainer) Start(ctx context.Context) error {
return nil
}

testcontainers.Logger.Printf("starting ollama")

serveCmd, logFile, err := startOllama(context.Background(), c.localCtx)
if err != nil {
c.localCtx.mx.Unlock()
Expand All @@ -409,8 +407,6 @@ func (c *OllamaContainer) Start(ctx context.Context) error {
return fmt.Errorf("wait for ollama to start: %w", err)
}

testcontainers.Logger.Printf("ollama started")

return nil
}

Expand Down Expand Up @@ -450,8 +446,6 @@ func (c *OllamaContainer) Stop(ctx context.Context, d *time.Duration) error {
c.localCtx.mx.Lock()
defer c.localCtx.mx.Unlock()

testcontainers.Logger.Printf("stopping ollama")

if c.localCtx.serveCmd == nil {
return nil
}
Expand All @@ -462,8 +456,6 @@ func (c *OllamaContainer) Stop(ctx context.Context, d *time.Duration) error {

c.localCtx.serveCmd = nil

testcontainers.Logger.Printf("ollama stopped")

return nil
}

Expand Down

0 comments on commit 4761fa1

Please sign in to comment.