Skip to content

Commit 85d2aab

Browse files
authored
Merge pull request #806 from l1b0k/release-1.9
fix(builder): handle instance limit retrieval error
2 parents c9fb2a3 + 940f6ac commit 85d2aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func (b *NetworkServiceBuilder) initInstanceLimit() error {
194194
} else {
195195
limit, err := provider.GetLimitFromAnno(node.Annotations)
196196
if err != nil {
197-
return err
197+
serviceLog.Error(err, "unable to get instance limit from annotation")
198198
}
199199
if limit == nil || instance.GetInstanceMeta().InstanceType != limit.InstanceTypeID {
200200
limit, err = provider.GetLimit(b.aliyunClient, instance.GetInstanceMeta().InstanceType)

0 commit comments

Comments
 (0)