Giorgio-Bonvicini-R4P commented on issue #1334:
URL: https://github.com/apache/answer/issues/1334#issuecomment-2904619870

   Wow that was fast. Thank you so much for the effort!
   
   However, I am having trouble testing your proposed change (pretty sure it's 
my fault this time 😝).
   
   I am running everything in docker so what I tried to do this:
   - `git clone https://github.com/apache/answer.git`
   - applied the patch to `internal/controller/user_controller.go`
   - `docker build -t answer-hotfix:local .` (compiles ok)
   - moved to my docker compose folder
   - changed the first row of my 
[Dockerfile](https://answer.apache.org/docs/plugins/#build-with-plugin-from-answer-base-image)
 from
       ```
       FROM apache/answer as answer-builder
       ```
     to
       ```
       FROM answer-hotfix:local as answer-builder
       ```
    - `docker compose up -d --no-deps --build --force-recreate` (compiles and 
starts ok)
   
   However it looks like nothing changed: I tried adding and modifying some 
log.Infof calls to make sure I was running the correct version and, alas, I do 
not see them, so I guess it's somehow using the previous binary isntead of my 
modified one...
   
   I will keep trying and if nothing else works in the weekend I will set up a 
development environment in a VM to test this.
   
   Thank you again for the excellent support


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to