mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-27 08:39:49 +00:00
👕 Fix the linter error
This commit is contained in:
parent
b7b3603e57
commit
742a56272b
@ -7,11 +7,6 @@ import (
|
|||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
|
||||||
empty = ""
|
|
||||||
tab = "\t"
|
|
||||||
)
|
|
||||||
|
|
||||||
func PrettyYaml(data interface{}) (result string, err error) {
|
func PrettyYaml(data interface{}) (result string, err error) {
|
||||||
var marshalled []byte
|
var marshalled []byte
|
||||||
marshalled, err = json.Marshal(data)
|
marshalled, err = json.Marshal(data)
|
||||||
|
Loading…
Reference in New Issue
Block a user