Skip to content

Commit

Permalink
[kube\exec] remove redundant casting
Browse files Browse the repository at this point in the history
  • Loading branch information
maorfr committed Dec 4, 2018
1 parent 190b1be commit d7a8cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/skbn/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func GetListOfFilesFromK8s(iClient interface{}, path, findType, findName string)
continue
}

lines := strings.Split((string)(output.Bytes()), "\n")
lines := strings.Split(output.String(), "\n")
var outLines []string
for _, line := range lines {
if line != "" {
Expand Down

0 comments on commit d7a8cbe

Please sign in to comment.