Skip to content

Commit

Permalink
fix(golint): exported function should have comment
Browse files Browse the repository at this point in the history
 for NonReadyConditionReason function
  • Loading branch information
navidshaikh committed Oct 24, 2019
1 parent 4fe4672 commit fbfac88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/kn/commands/human_readable_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ func ReadyCondition(conditions duckv1.Conditions) string {
return "<unknown>"
}

// NonReadyConditionReason returns formatted string of
// reason and message for non ready conditions
func NonReadyConditionReason(conditions duckv1.Conditions) string {
for _, condition := range conditions {
if condition.Type == apis.ConditionReady {
Expand Down

0 comments on commit fbfac88

Please sign in to comment.