Skip to content

Commit

Permalink
do not retry discovery failed groups error
Browse files Browse the repository at this point in the history
  • Loading branch information
cppforlife committed Jan 24, 2020
1 parent da40241 commit dc50cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kapp/resources/resource_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (g *ResourceTypesImpl) serverResources() ([]*metav1.APIResourceList, error)
if len(serverResources) > 0 && g.opts.IgnoreFailingAPIServices {
return serverResources, nil
}
lastErr = fmt.Errorf("%s (possibly related issue: https://github.com/k14s/kapp/issues/12)", lastErr)
return nil, fmt.Errorf("%s (possibly related issue: https://github.com/k14s/kapp/issues/12)", lastErr)
}
time.Sleep(1 * time.Second)
}
Expand Down

0 comments on commit dc50cc2

Please sign in to comment.