Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 committed Mar 6, 2020
1 parent e451110 commit ffe1170
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/serving/v1/route_lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ func (rs *RouteStatus) MarkCertificateNotOwned(name string) {
"There is an existing certificate %s that we don't own.", name)
}

// MarkCertificateNotEnabled sets RouteConditionCertificateProvisioned to true when
// certificate config such as autoTLS is not enabled.
func (rs *RouteStatus) MarkCertificateNotEnabled() {
routeCondSet.Manage(rs).MarkTrue(RouteConditionCertificateProvisioned)
}
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/serving/v1alpha1/route_lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ func (rs *RouteStatus) MarkCertificateNotOwned(name string) {
"There is an existing certificate %s that we don't own.", name)
}

// MarkCertificateNotEnabled sets RouteConditionCertificateProvisioned to true when
// certificate config such as autoTLS is not enabled.
func (rs *RouteStatus) MarkCertificateNotEnabled() {
routeCondSet.Manage(rs).MarkTrue(RouteConditionCertificateProvisioned)
}
Expand Down

0 comments on commit ffe1170

Please sign in to comment.