GoogleContainerTools/skaffold

k8s error formatting is hard to read

Offen

#6.937 geöffnet am 05.12.2021

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Go (1.416 Forks)batch import
area/uxhelp wantedkind/usabilitypriority/p3

Repository-Metriken

Stars
 (12.822 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 3T 6h) (16 gemergte PRs in 30 T)

Beschreibung

k8s returns this mass (newlines added so it looks more like it does in a terminal:

image

I wish something would, at minimum, do python-style indents at colons:

 - Error from server (BadRequest): error when creating "STDIN": 
     Deployment in version "v1" cannot be handled as a Deployment: 
       v1.Deployment.Spec: 
         v1.DeploymentSpec.Template: 
           v1.PodTemplateSpec.Spec: 
             v1.PodSpec.Containers: []v1.Container: 
               v1.Container.VolumeMounts: 
                 []v1.VolumeMount: 
                   Resources: 
                     v1.ResourceRequirements.Limits: 
                       unmarshalerDecoder: 
                         quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', 
                         error found in #10 byte of 
                         ...|":"300MiB"}},"volume|..., bigger context ...|"resources":{"limits":{"cpu":"1","memory":"300MiB"}},"volumeMounts":[{"mountPath":"/verdaccio/storag|...

Contributor Guide