Skip to content

Add kubernetes formatting support#36

Merged
bahar-shah merged 2 commits intomainfrom
k8s-validation-formatting
Mar 28, 2023
Merged

Add kubernetes formatting support#36
bahar-shah merged 2 commits intomainfrom
k8s-validation-formatting

Conversation

@bahar-shah
Copy link
Contributor

No description provided.

Copy link

@kombeneah kombeneah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

return "", fmt.Errorf("error converting yaml to json %s", err.Error())
}
var jsonOutput interface{}
json.Unmarshal([]byte(jsonBytes), &jsonOutput)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could save some debugging headache to error check on this call

@bahar-shah bahar-shah merged commit ecd23c7 into main Mar 28, 2023
@bahar-shah bahar-shah deleted the k8s-validation-formatting branch March 28, 2023 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants