Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
archlitchi committed Jun 24, 2024
1 parent 8d6af35 commit e3dd544
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions internal/pkg/api/device/devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ func Initialize() {
func GlobalFlagSet() {
nvidia.ParseConfig()
cambricon.ParseConfig()
iluvatar.ParseConfig()
ascend.ParseConfig()
flag.BoolVar(&DebugMode, "debug", false, "debug mode")
}

Expand Down
4 changes: 1 addition & 3 deletions k8s-mock-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ spec:
- key: CriticalAddonsOnly
operator: Exists
containers:
- image: ubuntu:20.04
#command: ["/bin/bash","-c","source /opt/hygondriver/env.sh && sleep infinity"]
command: ["sleep","infinity"]
- image: projecthami/mock-device-plugin:latest
name: hami-mock-dp-cntr
env:
- name: NODE_NAME
Expand Down

0 comments on commit e3dd544

Please sign in to comment.