Skip to content

Commit

Permalink
Keep the CI pipeline happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
theunrepentantgeek committed Jun 26, 2021
1 parent 4e57e5d commit 5e16ac9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hack/generator/pkg/astmodel/errored_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (e *ErroredType) WriteDebugDescription(builder *strings.Builder, types Type
} else {
builder.WriteString("<missing>")
}

for _, e := range e.errors {
builder.WriteString("|")
builder.WriteString(e)
Expand Down
8 changes: 2 additions & 6 deletions hack/generator/pkg/functions/original_gvk_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ func (o OriginalGVKFunction) AsFunc(
// Equals returns true if the passed function is equal to us, or false otherwise
func (o OriginalGVKFunction) Equals(f astmodel.Function) bool {
_, ok := f.(*OriginalGVKFunction)
if !ok {
// Not same type, can't be the same
return false
}

return true
// Equality is just based on Type for now
return ok
}

0 comments on commit 5e16ac9

Please sign in to comment.