Skip to content

Commit f325c84

Browse files
committed
Use the appropriate bool parsing function
1 parent b2f5c48 commit f325c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/governor/conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func readSockstat(environ []string) updateData {
210210
case "group_leader":
211211
res.GroupLeader = sockstat.GetBool(parts[1])
212212
case "is_importing":
213-
res.IsImporting = sockstat.GetBool(parts[1])
213+
res.IsImporting = sockstat.BoolValue(parts[1])
214214
}
215215
}
216216

0 commit comments

Comments
 (0)