Skip to content

Commit

Permalink
rm unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Oct 2, 2024
1 parent 1c05486 commit 4ed5341
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions plugin/plugins/pebbleds/pebbleds.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,6 @@ func getConfigBool(name string, params map[string]any) (bool, error) {
return false, nil
}

func getConfigString(name string, params map[string]any) (string, error) {
val, ok := params[name]
if ok {
sval, ok := val.(string)
if !ok {
return "", fmt.Errorf("%q field was not a string", name)
}
return sval, nil
}
return "", nil
}

func getConfigInt(name string, params map[string]any) (int, error) {
val, ok := params[name]
if ok {
Expand Down

0 comments on commit 4ed5341

Please sign in to comment.