Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
Add co-author to PR.

Co-authored-by: sarjamil <sjamil@salesforce.com>
  • Loading branch information
annelau21 and sarjamil committed Apr 19, 2022
1 parent 540adc7 commit a793066
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kyaml/yaml/rnode.go
Expand Up @@ -1206,12 +1206,9 @@ func (rn *RNode) GetString(path string) (string, error) {
// rather than string, we do conversion from Nodes to Go types and back
// to nodes. We should figure out how to do replacement using raw nodes,
// assuming we keep the var feature in kustomize.
// The other end of this is: refvar.go:updateNodeValue.ß
// The other end of this is: refvar.go:updateNodeValue.
func (rn *RNode) GetFieldValue(path string) (interface{}, error) {
fields := convertSliceIndex(utils.SmarterPathSplitter(path, "."))
fields2 := utils.SmarterPathSplitter(path, ".")
fields3 := convertSliceIndex(strings.Split(path, "."))
fmt.Println(fields2, fields3)
rn, err := rn.Pipe(Lookup(fields...))
if err != nil {
return nil, err
Expand Down

0 comments on commit a793066

Please sign in to comment.