Skip to content

Commit

Permalink
Add String logic to tsuru job
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Sep 20, 2023
1 parent 6ffb445 commit 6133efd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/types/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ func (rt *RuleType) String() string {
}
return fmt.Sprintf("Tsuru APP: %s", rt.TsuruApp.AppName)
}
if rt.TsuruJob != nil {
return fmt.Sprintf("Tsuru Job: %s", rt.TsuruJob.JobName)
}
if rt.ExternalDNS != nil {
wholeNet := ""
if rt.ExternalDNS.SyncWholeNetwork {
Expand Down

0 comments on commit 6133efd

Please sign in to comment.