Skip to content

Commit

Permalink
Merge pull request #68 from caesarxuchao/minor
Browse files Browse the repository at this point in the history
Log the group name as well to be more informative
  • Loading branch information
k8s-ci-robot committed Jul 22, 2020
2 parents fb34dcb + 133590a commit b91e5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/trigger/discovery_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func (mt *MigrationTrigger) staleStorageState(ss *migrationv1alpha1.StorageState
func (mt *MigrationTrigger) processDiscoveryResource(ctx context.Context, r metav1.APIResource) {
klog.V(4).Infof("processing %#v", r)
if r.StorageVersionHash == "" {
klog.V(2).Infof("ignored resource %s because its storageVersionHash is empty", r.Name)
klog.V(2).Infof("ignored resource %s/%s because its storageVersionHash is empty", r.Group, r.Name)
return
}
ss, getErr := mt.client.MigrationV1alpha1().StorageStates().Get(ctx, storageStateName(toGroupResource(r)), metav1.GetOptions{})
Expand Down

0 comments on commit b91e5bc

Please sign in to comment.