Skip to content

Commit

Permalink
Update autolevel.go
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbokun authored Oct 10, 2020
1 parent 3ad9b80 commit 255d71b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/autolevel.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ type Autolower struct{}
func (Autolower)MonitorLevelP(level string)(l string) {
switch level {
case "P0":
return "p1"
return "P1"
case "P1":
return "p2"
return "P2"
case "P2":
return "p3"
return "P3"
case "P3":
return "p4"
return "P4"
default:
return level
}
}
}

0 comments on commit 255d71b

Please sign in to comment.