mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-24 08:20:31 +08:00
Fix getCasvisorApplication()
This commit is contained in:
parent
c4a307b9ec
commit
546512a0ea
@ -27,7 +27,7 @@ func getCasvisorApplication() *Application {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, application := range applications {
|
for _, application := range applications {
|
||||||
if strings.Contains(strings.ToLower(application.Name), "casvisor") {
|
if strings.Contains(strings.ToLower(application.Name), "casvisor-my") {
|
||||||
return application
|
return application
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user