Pārlūkot izejas kodu

Fix mount opts error message.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Daniel Nephin 9 gadi atpakaļ
vecāks
revīzija
c8659d3cc5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      api/client/service/opts.go

+ 1 - 1
api/client/service/opts.go

@@ -217,7 +217,7 @@ func (m *MountOpt) Set(value string) error {
 			}
 			setValueOnMap(volumeOptions().DriverConfig.Options, value)
 		default:
-			return fmt.Errorf("unexpected key '%s' in '%s'", key, value)
+			return fmt.Errorf("unexpected key '%s' in '%s'", key, field)
 		}
 	}