colima icon indicating copy to clipboard operation
colima copied to clipboard

chore: expend the path information about current profile being used

Open jason19970210 opened this issue 11 months ago • 1 comments

Revision of #1267.

As subject mentioned, according to mistaken config yaml which modified manually, it might be showing the full path about the current profile being used with command $ colima start as well.

jason19970210 avatar Feb 10 '25 08:02 jason19970210

I am actually not a fan of this approach as it is not a relevant information for most users.

I would leave it as is, and log the config file as a trace i.e. with log.Trace. If for troubleshooting reasons there is a need to verify the config file being loaded, trace log can be enabled with the --very-verbose flag.

abiosoft avatar Feb 10 '25 08:02 abiosoft

@jason19970210 do you still want to update this?

abiosoft avatar Jul 31 '25 14:07 abiosoft

@abiosoft I have made change to log.Tracef which comes up with "very-verbose".

jason19970210 avatar Jul 31 '25 15:07 jason19970210

@jason19970210 I added one more code comment suggestion.

abiosoft avatar Jul 31 '25 15:07 abiosoft

@abiosoft it looks good about the suggestions.

jason19970210 avatar Jul 31 '25 15:07 jason19970210