Skip to content

Commit 20c404f

Browse files
committed
Fixed waitgroup issue in 'scw inspect'.
1 parent f64e042 commit 20c404f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inspect.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func resolveIdentifiers(cmd *Command, needles []string, out chan ScalewayResolve
6464
// fill the cache by fetching from the API and resolve missing identifiers
6565
if len(unresolved) > 0 {
6666
var wg sync.WaitGroup
67-
wg.Add(4)
67+
wg.Add(5)
6868
go func() {
6969
cmd.API.GetServers(true, 0)
7070
wg.Done()

0 commit comments

Comments
 (0)