Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Tweak logged warning of unsupported resource kind
Browse files Browse the repository at this point in the history
As the previous warning message did not provide enough context to the
user to be able to figure out why it was being marked as 'unsupported'.
  • Loading branch information
hiddeco committed Sep 24, 2019
1 parent fac59ef commit 276b2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (c *Cluster) SomeWorkloads(ctx context.Context, ids []resource.ID) (res []c

resourceKind, ok := resourceKinds[kind]
if !ok {
c.logger.Log("warning", "unsupported kind", "resource", id)
c.logger.Log("warning", "automation of this resource kind is not supported", "resource", id)
continue
}

Expand Down

0 comments on commit 276b2ab

Please sign in to comment.