diff --git a/sonic_data_client/mixed_db_client.go b/sonic_data_client/mixed_db_client.go index f748a576..3de666df 100644 --- a/sonic_data_client/mixed_db_client.go +++ b/sonic_data_client/mixed_db_client.go @@ -1353,7 +1353,7 @@ func (c *MixedDbClient) SetFullConfig(delete []*gnmipb.Path, replace []*gnmipb.U return err } - PyCodeInGo := fmt.Sprintf(PyCodeForYang, ietf_json_val) + PyCodeInGo := fmt.Sprintf(PyCodeForYang, fileName) err = RunPyCode(PyCodeInGo) if err != nil { return fmt.Errorf("Yang validation failed!")