Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14493 from barrettj12/kr-pretty-replace
#14493 This pulls through a fix for issue kr/pretty#77 which was causing some of our logs to format like this: ``` [LOG] 0:00.001 DEBUG juju.kubernetes.provider.application creating storage class for gitlab filesystem database: &v1.StorageClass{ %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference) [LOG] 0:00.001 DEBUG juju.kubernetes.provider.application using persistent volume claim for gitlab filesystem database: v1.PersistentVolumeClaim{ %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference) ``` We've pushed the patch upstream, but [kr/pretty](https://github.com/kr/pretty) doesn't look actively maintained anymore. Until they accept our patch, we will use our fork at [canonical/pretty](https://github.com/canonical/pretty) instead. ## QA steps ```sh go test -v ./caas/kubernetes/provider/application -check.f applicationSuite.TestEnsureStateful -check.vv ``` Verify that the structs are printed correctly in the logs.
- Loading branch information