Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions robot/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,12 @@ func (rc *RobotClient) ResourceByName(name resource.Name) (resource.Resource, er
return nil, err
}

// if the request is for the public framesystem,
// return the robot client since it implements framesystem
if name == framesystem.PublicServiceName {
return rc, nil
}

rc.mu.RLock()

// see if a remote name matches the name if so then return the remote client
Expand Down