Skip to content

Commit

Permalink
make namespace match
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Aug 25, 2023
1 parent 48d26fb commit 51ee9cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
wifi:
wifi: *.go */*.go
# the executable
go build -o $@ -ldflags "-s -w" -tags osusergo,netgo
file $@

module.tar.gz: wifi
# the bundled module
Expand Down
2 changes: 1 addition & 1 deletion linuxwifi/linuxwifi.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
)

// Model represents a linux wifi strength sensor model.
var Model = resource.NewModel("viam-labs", "sensor", "linux-wifi")
var Model = resource.NewModel("viam", "sensor", "linux-wifi")

const wirelessInfoPath string = "/proc/net/wireless"

Expand Down
2 changes: 1 addition & 1 deletion meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"models": [
{
"api": "rdk:component:sensor",
"model": "viam-labs:sensor:linux-wifi"
"model": "viam:sensor:linux-wifi"
}
],
"entrypoint": "wifi"
Expand Down

0 comments on commit 51ee9cd

Please sign in to comment.