Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
Signed-off-by: MUzairS15 <muzair.shaikh810@gmail.com>
  • Loading branch information
MUzairS15 committed Jul 19, 2023
1 parent 3e866e3 commit 7155857
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions utils/component/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ func getSchema(parsedCrd cue.Value, pathConf CuePathConfig) (string, error) {
if err != nil {
return "", ErrGetSchema(err)
}

updatedProps, err := UpdateProperties(specCueVal, cue.ParsePath(pathConf.PropertiesPath), resourceId)

if err != nil {
return "", err
}

schema = updatedProps
DeleteFields(schema)

Expand Down Expand Up @@ -74,4 +74,3 @@ func DeleteFields(m map[string]interface{}) {
m[key] = prop
}
}

0 comments on commit 7155857

Please sign in to comment.