Przeglądaj źródła

match signature with the Windows implementation

Adam Pritchard 1 rok temu
rodzic
commit
2150fb700a
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      psiphon/common/networkid/networkid_disabled.go

+ 2 - 2
psiphon/common/networkid/networkid_disabled.go

@@ -27,6 +27,6 @@ func Enabled() bool {
 	return false
 }
 
-func Get() (compoundID, connectionType string, isVPN bool, err error) {
-	return "", "", false, fmt.Errorf("operation is not enabled")
+func Get() (string, error) {
+	return "", fmt.Errorf("operation is not enabled")
 }