GoogleContainerTools/skaffold

k8s error formatting is hard to read

Ouverte

#6 937 ouverte le 5 déc. 2021

 (1 commentaire) (0 réaction) (0 personne assignée)Go (1 416 forks)batch import
area/uxhelp wantedkind/usabilitypriority/p3

Métriques du dépôt

Stars
 (12 822 étoiles)
Métriques de merge PR
 (Merge moyen 3j 6h) (16 PRs mergées en 30 j)

Description

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|...

Guide contributeur