Skip to content

Commit bc1083a

Browse files
committed
Fix(BREV-2215): added warning logs
1 parent 9450d25 commit bc1083a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

v1/providers/shadeform/instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ func (c *ShadeformClient) ListInstances(ctx context.Context, _ v1.ListInstancesA
253253
for _, instance := range resp.Instances {
254254
singleInstance, err := c.convertShadeformInstanceToV1Instance(instance)
255255
if err != nil {
256+
c.logger.Warn(ctx, "skipping instance without refID tag", v1.LogField("instanceID", instance.Id), v1.LogField("instanceName", instance.Name), v1.LogField("error", err.Error()))
256257
continue
257258
}
258259
instances = append(instances, *singleInstance)

0 commit comments

Comments
 (0)